add missing config files
[openwrt/openwrt.git] / docs / Makefile
1 MAIN = openwrt.tex
2 DEPS = $(MAIN) Makefile config.tex network.tex network-scripts.tex network-scripts.tex wireless.tex build.tex adding.tex bugs.tex
3
4 all:
5 $(MAKE) cleanup
6 latex $(MAIN)
7 $(MAKE) openwrt.pdf openwrt.html
8 $(MAKE) cleanup
9
10 openwrt.html: $(DEPS)
11 htlatex $(MAIN)
12
13 openwrt.pdf: $(DEPS)
14 pdflatex $(MAIN)
15
16 clean: cleanup
17 rm -f openwrt.pdf openwrt.html openwrt.css
18
19 cleanup: FORCE
20 rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
21
22
23 FORCE:
24 .PHONY: FORCE