aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorDenis Barbier <barbier>2001-11-24 21:45:10 +0000
committerDenis Barbier <barbier>2001-11-24 21:45:10 +0000
commit1e8ed3439fa08de892cd47b1a748cdcee85be271 (patch)
treefadd40e58a7ce5ab9ad74a8e2251bbea549e831b /Makefile.common
parentc12c43952ead1830983f9667da80a15c44fe3918 (diff)
Add a rule to generate $(TEMPLDIR)/language_names.def from
$(TEMPLDIR)/language_names.wml CVS version numbers Makefile.common: 1.49 -> 1.50
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 8c58ee8f309..a942afe1fa8 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -121,7 +121,7 @@ $(TEMPLDIR)/%.wml:
$(TEMPLDIR)/basic.wml: $(TEMPLDIR)/navbar.wml
$(TEMPLDIR)/footer.wml: $(TEMPLDIR)/ctime.wml
-$(TEMPLDIR)/languages.wml: $(TEMPLDIR)/language_names.wml
+$(TEMPLDIR)/languages.wml: $(TEMPLDIR)/language_names.wml $(TEMPLDIR)/language_names.def
$(TEMPLDIR)/mainpage.wml: $(TEMPLDIR)/basic.wml $(TEMPLDIR)/mirrors.wml \
$(TEMPLDIR)/languages.wml $(TEMPLDIR)/footer.wml $(TEMPLDIR)/links.tags.wml \
$(ENGLISHSRCDIR)/Pics/blue-upperleft.png $(ENGLISHSRCDIR)/Pics/blue-upperright.png \
@@ -178,6 +178,8 @@ $(TEMPLDIR)/weeklynews/header.wml: $(TEMPLDIR)/ctime.wml \
$(TEMPLDIR)/countries.def: $(TEMPLDIR)/countries.wml
cd $(TEMPLDIR) && sed -e /^#/d countries.wml | eperl -B '<:' -E ':>' - >/dev/null
+$(TEMPLDIR)/language_names.def: $(TEMPLDIR)/language_names.wml
+ cd $(TEMPLDIR) && sed -e '/^#/d' -e '/^<perl>/,/^<\/perl>/!d' language_names.wml | eperl -B '<perl>' -E '</perl>' - >/dev/null
.SUFFIXES:
.PHONY: all $(existing-SUBS) install $(existing-SUBS-install)

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