X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=Makefile.am;h=c06771204b218920a926ca9312d958a2b6347cf0;hp=dc4166d16c6634a3042e6d444b2599c43e0c1f45;hb=9b1f9810b090958bb4a669034173a01683c6e3e9;hpb=ef733b48e9f80b42b3bd4aaef3654c3485fac8d5 diff --git a/Makefile.am b/Makefile.am index dc4166d16c..c06771204b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -25,12 +25,21 @@ Doxyfile: $(srcdir)/Doxyfile.in @( \ echo "### @@@ -= DO NOT EDIT THIS FILE =- @@@ ###" && \ echo "### @@@ Make changes to Doxyfile.in @@@ ###" && \ - sed -e 's,@srcdir\@,$(srcdir),' $< \ + sed -e 's,@srcdir\@,$(srcdir),' \ + -e 's,@doxygen_as_html\@,$(doxygen_as_html),' \ + -e 's,@doxygen_as_pdf\@,$(doxygen_as_pdf),' $< \ ) > $@ +THE_MANUAL = doxygen/latex/refman.pdf + doxygen:: $(MAKE) Doxyfile doxygen Doxyfile 2>&1 | perl $(srcdir)/tools/logger.pl > doxygen.log + $(MAKE) $(THE_MANUAL) + +%.pdf: %.tex + -cd $$(dirname $*) && pdflatex $$(basename $*) + -cd $$(dirname $*) && pdflatex $$(basename $*) TCL_PATH = tcl # command to find paths of script files, relative to TCL_PATH