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:
20 $(NO_TRACE_MAKE) prereq
30 rm -f openwrt.pdf openwrt.html openwrt.css
33 rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi
35 $(eval $(call RequireCommand,pdflatex, \
36 You need to install LaTeX to build the OpenWrt documentation \
38 $(eval $(call RequireCommand,htlatex, \
39 You need to install tex4ht to build the OpenWrt documentation \