Commit e8de6256 authored by Steve McIntyre's avatar Steve McIntyre

Add translation-check.wml as a depfor all non-english .wml files

The output of this template file matters in all translated files, and
especially while we're still hacking on it make it easier for make to
track this dependency.
parent 109a2ebb
......@@ -93,8 +93,13 @@ $(existing-SUBS-cleandest):
# the rule for every wml file
ifndef NOGENERICDEP
%.$(LANGUAGE).html : %.wml $(WMLRCDEP) $(GETTEXTDEP) \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml
ifeq "$(LANGUAGE)" "en"
EXTRAWMLDEP := $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml
else
EXTRAWMLDEP := $(WMLRCDEP) $(GETTEXTDEP) $(TEMPLDIR)/template.wml $(TEMPLDIR)/languages.wml $(TEMPLDIR)/translation-check.wml
endif
%.$(LANGUAGE).html : %.wml $(EXTRAWMLDEP)
$(WML) $(<F)
ifeq "$(LANGUAGE)" "en"
-$(WMLBASE)/../touch_translations.pl $(CURDIR)/$(<F) $(LANGUAGE)
......
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