aboutsummaryrefslogtreecommitdiff
path: root/xml/Makefile.am
blob: 7c450b880e0a33cee8132479eee0ff892cecde8c (plain)
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
# 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

EXTRA_DIST=antonimies.xml\
 arithmi.xml\
 arthra.xml\
 ellinika.el.xml\
 ellinika.ru.xml\
 epirrhmata.xml\
 epitheta.xml\
 oysiastika.xml\
 paroimies.xml\
 rhmata.xml\
 tonos.xml\
 lingua.conf.in

DISTCLEANFILES=lingua.conf
CLEANFILES=stamp-lingua conf.sed

conf.sed: Makefile
	echo 's,%TMPDIR%,$(top_builddir)/tmp,' > conf.sed
	echo 's,%OUTDIR%,$(top_builddir)/html,' >> conf.sed
	echo 's,%TARGET_DIR%,$(TARGET_DIR),' >> conf.sed
	echo 's,%BASE_HREF%,$(BASE_HREF),' >> conf.sed

lingua.conf: $(srcdir)/lingua.conf.in conf.sed
	sed -f conf.sed $(srcdir)/lingua.conf.in > $@

all: stamp-lingua

stamp-lingua: $(EXTRA_DIST) lingua.conf
	lingua ellinika.ru.xml && echo "timestamp" > stamp-lingua

Return to:

Send suggestions and report system problems to the System administrator.