7 include $(TOPDIR)/rules.mk
8 include $(INCLUDE_DIR)/prereq.mk
11 DEPS = $(MAIN) Makefile config.tex network.tex network-scripts.tex network-scripts.tex wireless.tex build.tex adding.tex bugs.tex $(TMP_DIR)/.prereq-docs
14 $(NO_TRACE_MAKE) cleanup
16 $(NO_TRACE_MAKE) openwrt.pdf openwrt.html
17 $(NO_TRACE_MAKE) cleanup
19 $(TMP_DIR)/.prereq-docs:
21 $(NO_TRACE_MAKE) prereq
31 rm -f openwrt.pdf openwrt.html openwrt.css
34 rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
36 $(eval $(call RequireCommand,latex, \
37 You need to install LaTeX to build the OpenWrt documentation \
39 $(eval $(call RequireCommand,pdflatex, \
40 You need to install LaTeX to build the OpenWrt documentation \
42 $(eval $(call RequireCommand,htlatex, \
43 You need to install tex4ht to build the OpenWrt documentation \