2007-01-25 14:15:57 +01:00
|
|
|
MAIN = openwrt.tex
|
|
|
|
DEPS = $(MAIN) Makefile config.tex network.tex network-scripts.tex network-scripts.tex wireless.tex build.tex adding.tex bugs.tex
|
|
|
|
|
|
|
|
all:
|
2006-10-14 00:41:34 +02:00
|
|
|
$(MAKE) cleanup
|
2007-01-25 14:15:57 +01:00
|
|
|
latex $(MAIN)
|
|
|
|
$(MAKE) openwrt.pdf openwrt.html
|
2006-10-14 00:41:34 +02:00
|
|
|
$(MAKE) cleanup
|
2007-01-25 14:15:57 +01:00
|
|
|
|
|
|
|
openwrt.html: $(DEPS)
|
|
|
|
htlatex $(MAIN)
|
|
|
|
|
|
|
|
openwrt.pdf: $(DEPS)
|
|
|
|
pdflatex $(MAIN)
|
2006-10-14 00:41:34 +02:00
|
|
|
|
|
|
|
clean: cleanup
|
2007-01-25 14:15:57 +01:00
|
|
|
rm -f openwrt.pdf openwrt.html openwrt.css
|
2006-10-14 00:41:34 +02:00
|
|
|
|
|
|
|
cleanup: FORCE
|
2007-01-25 14:15:57 +01:00
|
|
|
rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
|
2006-10-14 00:41:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
FORCE:
|
|
|
|
.PHONY: FORCE
|