X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=docs%2FMakefile;h=cdaf09c1e04ffdb09afb9d38d6f477c1ab1e3377;hb=a23828e5e3bff211228dbd122c90e72a56465ecd;hp=ffc5bbb062a331f799c9135a1872ced603f3e49b;hpb=56d9da3f40ca69d57535d504159f75bf2ad582d6;p=openwrt-10.03%2F.git 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 \ ))