aboutsummaryrefslogtreecommitdiff
path: root/xml/Makefile.am
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-03-23 17:02:16 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2010-03-23 17:02:16 +0000
commit0f50d8ffa69e260b8b48ba3429297e2f7a7115ae (patch)
tree8f2248c99f8e3b31adac9eae983bec910ced6ff8 /xml/Makefile.am
parent4d8b444c994469b2e27dcdee02aaf61ca379ae47 (diff)
downloadellinika-0f50d8ffa69e260b8b48ba3429297e2f7a7115ae.tar.gz
ellinika-0f50d8ffa69e260b8b48ba3429297e2f7a7115ae.tar.bz2
Provide a WARNING block for use in the development version.
* style.css (div.warning): New class. * xml/pl/ellinika.xml: Provide a WARNING block for use in the development version. * xml/uk/ellinika.xml: Likewise. * xml/ru/ellinika.xml: Likewise. * xml/lingua.conf.in: Provide a WARNING block for use in development versions. <GUILE>: Remove unneded now use-modules. <IFEXP>: New tag. <EL:WARNING>: New tag. {THIS-REF}: New postprocessor handler. * xml/Makefile.am (conf.sed): Provide replacements for =IF..= keywords. * configure.ac (PROD_URL, EXP_URL, STATE): New AC_VARs. git-svn-id: file:///home/puszcza/svnroot/ellinika/trunk@546 941c8c0f-9102-463b-b60b-cd22ce0e6858
Diffstat (limited to 'xml/Makefile.am')
-rw-r--r--xml/Makefile.am25
1 files changed, 18 insertions, 7 deletions
diff --git a/xml/Makefile.am b/xml/Makefile.am
index ccb5d01..356c334 100644
--- a/xml/Makefile.am
+++ b/xml/Makefile.am
@@ -21,13 +21,24 @@ CLEANFILES=conf.sed
noinst_DATA= lingua.conf
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,=SCRIPT_SUFFIX=,$(SCRIPT_SUFFIX),' >> conf.sed
- echo 's,=SCRIPT_DIR=,$(SCRIPT_DIR),' >> conf.sed
- echo 's,=BASE_HREF=,$(BASE_HREF),' >> conf.sed
- echo 's,=PACKAGE_BUGREPORT=,$(PACKAGE_BUGREPORT),' >> conf.sed
+ echo 's,=TMPDIR=,$(top_builddir)/../tmp,g' > conf.sed
+ echo 's,=OUTDIR=,$(top_builddir)/../html,g' >> conf.sed
+ echo 's,=TARGET_DIR=,$(TARGET_DIR),g' >> conf.sed
+ echo 's,=SCRIPT_SUFFIX=,$(SCRIPT_SUFFIX),g' >> conf.sed
+ echo 's,=SCRIPT_DIR=,$(SCRIPT_DIR),g' >> conf.sed
+ echo 's,=BASE_HREF=,$(BASE_HREF),g' >> conf.sed
+ echo 's,=PACKAGE_BUGREPORT=,$(PACKAGE_BUGREPORT),g' >> conf.sed
+ echo 's,=PROD_URL=,$(PROD_URL),g' >> conf.sed
+ echo 's,=EXP_URL=,$(EXP_URL),g' >> conf.sed
+ if test "$(STATE)" = "EXP"; then \
+ echo 's,=IFEXP=,,' >> conf.sed; \
+ echo 's,=END IFEXP=,,' >> conf.sed; \
+ echo '/=IFPROD=/,/=END IFPROD=/d' >> conf.sed; \
+ else \
+ echo 's,=IFPROD=,,' >> conf.sed; \
+ echo 's,=END IFPROD=,,' >> conf.sed; \
+ echo '/=IFEXP=/,/=END IFEXP=/d' >> conf.sed; \
+ fi
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.