aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorDenis Barbier <barbier>2002-11-04 22:58:26 +0000
committerDenis Barbier <barbier>2002-11-04 22:58:26 +0000
commite0ae94020c33998e4917fec320e5d1195b90cdb8 (patch)
tree59344c7717a506a9f05b7e70d2cb48f0d189d6ef /Makefile.common
parent3effc4d195b2a810f0b4d26b1532b81c9f4f2846 (diff)
Generate templates.mo file if not present, to make sure that build
does not fail even if 'make install-locale' was not run. CVS version numbers Makefile.common: 1.69 -> 1.70
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 2fe70cb4392..abbb47e8ae9 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -127,6 +127,12 @@ ifeq ($(LANGUAGE),en)
endif
endif
+# Ensure that MO files do exist
+# Translators have to run make under webwml/<lang>/po if they
+# want it updated, it cannot be automatically performed.
+$(LOCALEDIR)/templates.mo:
+ $(MAKE) -C $(WMLBASE)/po install
+
$(OTHERDESTFILES): $(HTMLDIR)/%: %
@test -d $(HTMLDIR) || mkdir -m g+w -p $(HTMLDIR)
install -m 664 -p $< $(HTMLDIR)

© 2014-2024 Faster IT GmbH | imprint | privacy policy