5 include $(TOPDIR)/rules.mk
6 include $(INCLUDE_DIR)/prereq.mk
9 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
12 $(NO_TRACE_MAKE) cleanup
14 $(NO_TRACE_MAKE) openwrt.pdf openwrt.html
15 $(NO_TRACE_MAKE) cleanup
17 $(TMP_DIR)/.prereq-docs:
18 $(NO_TRACE_MAKE) prereq
28 rm -f openwrt.pdf openwrt.html openwrt.css
31 rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
33 $(eval $(call RequireCommand,pdflatex, \
34 You need to install LaTeX to build the OpenWrt documentation \
36 $(eval $(call RequireCommand,htlatex, \
37 You need to install tex4ht to build the OpenWrt documentation \