1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# This file is part of Ellinika project.
# Copyright (C) 2004 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 2 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 Ellinika; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
AUTOMAKE_OPTIONS = gnits 1.8
ACLOCAL_AMFLAGS = -I m4
SUBDIRS=cgi-bin elisp data ellinika scm xml po
htmldir = $(HTMLDIR)
html_DATA = mainstyle.css .htaccess index.scml
EXTRA_DIST=.htaccess index.scml
install-html:
top_srcdir=`cd $(top_srcdir);pwd`; \
for dir in el pl ru; 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
|