X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/56d9da3f40ca69d57535d504159f75bf2ad582d6..7fd5e14d44e4eb604410c1b771211bddc09eea64:/docs/Makefile diff --git a/docs/Makefile b/docs/Makefile index ffc5bbb06..cdaf09c1e 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -17,6 +17,7 @@ compile: $(NO_TRACE_MAKE) cleanup $(TMP_DIR)/.prereq-docs: + mkdir -p $(TMP_DIR) $(NO_TRACE_MAKE) prereq touch $@ @@ -25,13 +26,16 @@ openwrt.html: $(DEPS) openwrt.pdf: $(DEPS) pdflatex $(MAIN) - + clean: cleanup rm -f openwrt.pdf openwrt.html openwrt.css cleanup: FORCE rm -f *.log *.aux *.toc *.out *.lg *.dvi *.idv *.4ct *.4tc *.xref *.tmp *.dvi +$(eval $(call RequireCommand,latex, \ + You need to install LaTeX to build the OpenWrt documentation \ +)) $(eval $(call RequireCommand,pdflatex, \ You need to install LaTeX to build the OpenWrt documentation \ ))