aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xml/Makefile.am16
1 files changed, 14 insertions, 2 deletions
diff --git a/xml/Makefile.am b/xml/Makefile.am
index 6f3d236..ca7f66b 100644
--- a/xml/Makefile.am
+++ b/xml/Makefile.am
@@ -15,5 +15,17 @@
# along with Ellinika; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-EXTRA_DIST = COPYING.FDL
-SUBDIRS = pl ru
+EXTRA_DIST = COPYING.FDL lingua.conf.in
+SUBDIRS = . pl ru
+DISTCLEANFILES=lingua.conf
+CLEANFILES=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 > $@
+

Return to:

Send suggestions and report system problems to the System administrator.