Rename autoloadbalance.php3 to autoloadbalance.html and redirect accesses
[lartc.git] / Makefile
blob2abff8f040b305aaaeeddeccfd88f6e069aef7aa
1 # $Id$
3 HOWTODOCS := howto/ html.tar.gz lartc.txt lartc.dvi lartc.pdf lartc.pdf.gz lartc.ps lartc.ps.gz lartc.html
5 all: $(HOWTODOCS) contriblist
7 clean:
8 rm -rf $(HOWTODOCS) contriblist lartc.aux lartc.log lartc.out
10 %.pdf.gz: %.pdf
11 gzip < $< > $@
13 %.ps.gz: %.ps
14 gzip < $< > $@
16 howto/: lartc.db
17 docbook2html -V "%use-id-as-filename%" -o howto/ lartc.db
19 html.tar.gz: howto/
20 tar czf html.tar.gz howto/
22 %.txt: %.db
23 docbook2txt $<
25 %.pdf: %.db
26 docbook2pdf -p /usr/bin/openjade $<
28 %.ps: %.db
29 docbook2ps $<
31 %.dvi: %.db
32 docbook2dvi $<
34 lartc.html: lartc.db
35 docbook2html --nochunks lartc.db
37 contriblist: lartc.txt
38 ./makecontriblist > contriblist
40 publish:
41 # Print a list of files which should be synced.
42 # Note that autoloadbalance.html, index.php3 and manpages/index.php3
43 # are not in this list because they are not rebuilt by this Makefile.
44 echo $(HOWTODOCS) contriblist LARTC-zh_CN.GB2312.pdf wondershaper/ autoloadbalance.html index.php3 manpages/