8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/prereq.mk
12 DEPS = $(MAIN) Makefile config.tex network.tex network-scripts.tex network-scripts.tex wireless.tex build.tex adding.tex bugs.tex debugging.tex $(TMP_DIR)/.prereq-docs
14 compile: $(TMP_DIR)/.prereq-docs
15 $(NO_TRACE_MAKE) cleanup
17 $(NO_TRACE_MAKE) openwrt.pdf openwrt.html
18 $(NO_TRACE_MAKE) cleanup
20 $(TMP_DIR)/.prereq-docs:
22 $(NO_TRACE_MAKE) prereq
32 rm -f openwrt.pdf openwrt.html openwrt.css
35 rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
37 $(eval $(call RequireCommand,latex, \
38 You need to install LaTeX to build the OpenWrt documentation \
40 $(eval $(call RequireCommand,pdflatex, \
41 You need to install PDFLaTeX to build the OpenWrt documentation \
43 $(eval $(call RequireCommand,htlatex, \
44 You need to install tex4ht to build the OpenWrt documentation \