aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
diff options
context:
space:
mode:
authorDenis Barbier <barbier>2001-07-28 01:29:17 +0000
committerDenis Barbier <barbier>2001-07-28 01:29:17 +0000
commitb20de522115f16ccf43e5c206c0732f82d128dce (patch)
treeb6bbfcb402bd502240ca5a55d1f799f18efeece0 /Makefile.common
parent0f643ce9c84a2996a1ba29a2d7438a02e97733de (diff)
* Rename wml::debian::countries_perl into wml::debian::countries
* Merge previous changes made by translators into only one of these rwo files. * Makefile.common is updated to generate macros for country names into english/template/debian/countries.def from Perl hash tables found in english/template/debian/countries.wml; this file is included by wml::debian::countries. CVS version numbers Makefile.common: 1.39 -> 1.40 english/template/debian/countries.wml: 1.121 -> 1.122 english/template/debian/countries_perl.wml: 1.3 -> 1.4(DEAD)
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 74d267d55d2..d29f6d7451e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -127,7 +127,7 @@ $(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 \
$(ENGLISHSRCDIR)/Pics/blue-lowerleft.png $(ENGLISHSRCDIR)/Pics/blue-lowerright.png
-$(TEMPLDIR)/mirrors.wml: $(TEMPLDIR)/countries.wml
+$(TEMPLDIR)/mirrors.wml: $(TEMPLDIR)/countries.wml $(TEMPLDIR)/countries.def
$(TEMPLDIR)/template.wml: $(TEMPLDIR)/basic.wml $(TEMPLDIR)/languages.wml \
$(TEMPLDIR)/footer.wml
$(TEMPLDIR)/news.wml: $(TEMPLDIR)/basic.wml $(TEMPLDIR)/footer.wml \
@@ -176,6 +176,10 @@ $(TEMPLDIR)/votebar.wml: $(TEMPLDIR)/footer.wml $(TEMPLDIR)/languages.wml \
$(TEMPLDIR)/weeklynews/header.wml: $(TEMPLDIR)/ctime.wml \
$(TEMPLDIR)/template.wml $(TEMPLDIR)/links.tags.wml
+$(TEMPLDIR)/countries.def: $(TEMPLDIR)/countries.wml
+ cd $(TEMPLDIR) && sed -e /^#/d countries.wml | eperl -B '<:' -E ':>' - >/dev/null
+
+
.SUFFIXES:
.PHONY: all $(existing-SUBS) install $(existing-SUBS-install)
.PHONY: clean $(existing-SUBS-clean) cleandest $(existing-SUBS-cleandest)

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