aboutsummaryrefslogtreecommitdiffstats
path: root/turkish/MailingLists/Makefile
blob: 04f8b2d04f6b6509d26f115b5991589fa81b66a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This Makefile should need no changes from webwml/english/MailingLists/Makefile
# Please send a message to debian-www if you need to modify anything
# so the problem can be fixed.

WMLBASE=..
CUR_DIR=MailingLists
SUBS=

include $(WMLBASE)/Make.lang

all:: subscribe.$(LANGUAGE).html unsubscribe.$(LANGUAGE).html
clean::
	rm -f subscribe.wml unsubscribe.wml
install:: $(HTMLDIR)/subscribe.$(LANGUAGE).html $(HTMLDIR)/unsubscribe.$(LANGUAGE).html

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
else
mailing-lists.$(LANGUAGE).txt: $(mklist) $(lists.cfg) $(descfiles)
	$(mklist) -f $(lists.cfg) -t && mv mailing-lists.txt mailing-lists.$(LANGUAGE).txt
endif

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