/[ddp]/packages/trunk/doc-debian/doc/Makefile
ViewVC logotype

Contents of /packages/trunk/doc-debian/doc/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5119 - (show annotations) (download)
Mon Apr 21 21:37:29 2008 UTC (5 years, 1 month ago) by jfs
File size: 2377 byte(s)
Fix typo in Makefile
1
2
3 LANGUAGE = english
4 # Adjust this (or create a symlink) to the location of your webml copy (if you have one)
5 WEBWML = ~/debian/www/webwml/$(LANGUAGE)
6
7 FILES= \
8 bug-log-access.txt bug-maint-mailcontrol.txt constitution.1.0.txt \
9 bug-log-mailserver.txt bug-reporting.txt mailing-lists.txt \
10 bug-mailserver-refcard.txt constitution.txt social-contract.txt \
11 bug-maint-info.txt constitution.1.1.txt social-contract.1.0.txt \
12 constitution.1.2.txt social-contract.1.1.txt
13
14 all: $(FILES)
15
16 clean:
17 -rm -f $(FILES) *.html
18 realclean: clean
19 -rm -f *.wml
20
21 %.html: %.wml
22 wml -q $< >$@
23
24 %.txt: %.html
25 lynx -dump -nolist $< >$@
26
27 # These rules are conditioned to the existence of $(WEBWML)
28 # so that the package can be built regardless of its existence
29 # Warning: hack
30 webwmlexists := $(shell ls -d $(WEBWML) 2>/dev/null)
31
32 ifneq "$(webwmlexists)" ""
33 bug-log-access.wml: $(WEBWML)/Bugs/Access.wml
34 cat $< |grep -v ^# >$@
35 bug-log-mailserver.wml: $(WEBWML)/Bugs/server-request.wml
36 cat $< |grep -v ^# >$@
37 bug-mailserver-refcard.wml: $(WEBWML)/Bugs/server-refcard.wml
38 cat $< |grep -v ^# >$@
39 bug-maint-info.wml: $(WEBWML)/Bugs/Developer.wml
40 cat $< |grep -v ^# >$@
41 bug-maint-mailcontrol.wml: $(WEBWML)/Bugs/server-control.wml
42 cat $< |grep -v ^# >$@
43 bug-reporting.wml: $(WEBWML)/Bugs/Reporting.wml
44 cat $< |grep -v ^# >$@
45 constitution.wml: $(WEBWML)/devel/constitution.wml
46 cat $< |grep -v ^# >$@
47 constitution.1.2.wml: $(WEBWML)/devel/constitution.1.2.wml
48 cat $< |grep -v ^# >$@
49 constitution.1.1.wml: $(WEBWML)/devel/constitution.1.1.wml
50 cat $< |grep -v ^# >$@
51 constitution.1.0.wml: $(WEBWML)/devel/constitution.1.0.wml
52 cat $< |grep -v ^# >$@
53 mailing-lists.wml: $(WEBWML)/MailingLists/subscribe.wml
54 cat $< |grep -v ^# >$@
55 social-contract.wml: $(WEBWML)/social_contract.1.1.wml
56 cat $< |grep -v ^# >$@
57 social-contract.1.0.wml: $(WEBWML)/social_contract.1.0.wml
58 cat $< |grep -v ^# >$@
59 social-contract.1.1.wml: $(WEBWML)/social_contract.1.0.wml
60 cat $< |grep -v ^# >$@
61
62 mailing-lists.txt: $(WEBWML)/MailingLists/mailing-lists.txt
63 cp $< $@
64
65 ## the Makfile in $(WEBWML)/MailingLists needs internet access!
66 $(WEBWML)/MailingLists/mailing-lists.txt:
67 cd $(WEBWML)/MailingLists && $(MAKE) mailing-lists.txt
68 endif
69
70 # Not in Debian's website, therefore kept in our own SVN:
71 # source-unpack.txt
72 # debian-manifesto

  ViewVC Help
Powered by ViewVC 1.1.5