diff options
author | Damyan Ivanov <dmn> | 2011-01-31 15:18:02 +0000 |
---|---|---|
committer | Damyan Ivanov <dmn> | 2011-01-31 15:18:02 +0000 |
commit | 45a73a85a54db0b3d3189a29e14eeac3a4f535e1 (patch) | |
tree | 39b7988adf6e36a6c39b4041e3854fc2fc3dd104 /bulgarian/MailingLists | |
parent | ff69f9006e27b3716c8d8a258c935fb1f2c920a2 (diff) |
use the generic language Makefile everywhere
CVS version numbers
bulgarian/MailingLists/Makefile: 1.1 -> 1.2
bulgarian/News/2010/Makefile: 1.1 -> 1.2
bulgarian/News/2011/Makefile: 1.1 -> 1.2
bulgarian/devel/Makefile: 1.1 -> 1.2
bulgarian/devel/debian-installer/Makefile: 1.1 -> 1.2
bulgarian/releases/lenny/debian-installer/Makefile: 1.1 -> 1.2
bulgarian/releases/squeeze/Makefile: 1.1 -> 1.2
Diffstat (limited to 'bulgarian/MailingLists')
-rw-r--r-- | bulgarian/MailingLists/Makefile | 51 |
1 files changed, 1 insertions, 50 deletions
diff --git a/bulgarian/MailingLists/Makefile b/bulgarian/MailingLists/Makefile index d77b7714ed0..12e269e605b 100644 --- a/bulgarian/MailingLists/Makefile +++ b/bulgarian/MailingLists/Makefile @@ -1,50 +1 @@ -# If this makefile is not generic enough to support a translation, -# please contact debian-www. - -WMLBASE=.. -CUR_DIR=MailingLists -SUBS= - -GETTEXTFILES += others.mo - -include $(WMLBASE)/Make.lang - -ifeq "$(LANGUAGE)" "zh" -all:: $(foreach sl,$(SUBLANG),subscribe.$(LANGUAGE)-$(sl).html unsubscribe.$(LANGUAGE)-$(sl).html ) -install:: $(foreach sl,$(SUBLANG),$(HTMLDIR)/subscribe.$(LANGUAGE)-$(sl).html $(HTMLDIR)/unsubscribe.$(LANGUAGE)-$(sl).html ) -else -all:: subscribe.$(LANGUAGE).html unsubscribe.$(LANGUAGE).html -install:: $(HTMLDIR)/subscribe.$(LANGUAGE).html $(HTMLDIR)/unsubscribe.$(LANGUAGE).html -endif - -clean:: - rm -f subscribe.wml unsubscribe.wml -ifeq "$(LANGUAGE)" "en" - rm -f lists.cfg -endif - -mklist := $(ENGLISHDIR)/$(CUR_DIR)/mklist -lists.cfg := $(ENGLISHDIR)/$(CUR_DIR)/lists.cfg -descfiles := $(shell find $(ENGLISHDIR)/$(CUR_DIR)/desc -type f \ - ! -path '*/CVS/*' ! -name introduction \ - ! -name subscription ! -name advertising ! -name README) -ifneq "$(wildcard desc)" "" -descfiles := $(shell find desc -type f ! -path '*/CVS/*' ! -name introduction \ - ! -name subscription ! -name advertising ! -name README) -endif - -subscribe.wml: $(mklist) $(lists.cfg) $(descfiles) $(mklist).tags - $(mklist) -f $(lists.cfg) -s - -unsubscribe.wml: $(mklist) $(lists.cfg) $(descfiles) $(mklist).tags - $(mklist) -f $(lists.cfg) -u - -ifeq "$(LANGUAGE)" "en" -mailing-lists.txt: $(mklist) $(lists.cfg) $(descfiles) - $(mklist) -f $(lists.cfg) -t -$(lists.cfg): - wget -O lists.cfg http://lists.debian.org/lists.cfg -else -mailing-lists.$(LANGUAGE).txt: $(mklist) $(lists.cfg) $(descfiles) - $(mklist) -f $(lists.cfg) -t && mv mailing-lists.txt mailing-lists.$(LANGUAGE).txt -endif +include $(subst webwml/bulgarian,webwml/english,$(CURDIR))/Makefile |