# This file is part of Ellinika project. # Copyright (C) 2004, 2007, 2008, 2010 Sergey Poznyakoff # # Ellinika is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # Ellinika is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . AUTOMAKE_OPTIONS = gnits 1.8 ACLOCAL_AMFLAGS = -I m4 SUBDIRS=src elisp data scm xml html-files po htmldir = $(HTMLDIR) html_DATA = style.css .htaccess maint.css index.html maint.html EXTRA_DIST=.htaccess.in maint.css index.html maint.html install-html: top_srcdir=`cd $(top_srcdir);pwd`; \ for dir in pl ru uk; do \ here=`pwd`; \ if test -d $(top_srcdir)/html/$$dir; then \ cd $(top_srcdir)/html/$$dir; \ if test -d $(DESTDIR)$(HTMLDIR)/$$dir; then \ :; \ else \ $(mkdir_p) $(DESTDIR)$(HTMLDIR)/$$dir; \ fi; \ for file in *.html; do \ ${INSTALL} -m 644 $$file $(DESTDIR)$(HTMLDIR)/$$dir/$$file; \ done; \ if test -r $$top_srcdir/xml/$$dir/symlinks; then \ grep -v '^[ \t]*[;#]' $$top_srcdir/xml/$$dir/symlinks | \ sed 's,^/,_,;s,\\.\\./,__/,g' | \ while read S T; do ln -sf $$S $$T; done; \ fi; \ cd $$here; \ fi; \ done install-data-local: install-html