Commit e0ae9402 authored by Denis Barbier's avatar Denis Barbier

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
parent 3effc4d1
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment