Makefile 497 B

123456789101112131415161718192021222324
  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. all:
  4. $(MAKE) cleanup
  5. latex $(MAIN)
  6. $(MAKE) openwrt.pdf openwrt.html
  7. $(MAKE) cleanup
  8. openwrt.html: $(DEPS)
  9. htlatex $(MAIN)
  10. openwrt.pdf: $(DEPS)
  11. pdflatex $(MAIN)
  12. clean: cleanup
  13. rm -f openwrt.pdf openwrt.html openwrt.css
  14. cleanup: FORCE
  15. rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
  16. FORCE:
  17. .PHONY: FORCE