From: Zach W. <zw...@us...> - 2009-11-24 20:24:36
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 5507b5f430e3d6bef00a7ffcd51df29c13d7477e (commit) from 96f0ab894adf606526325cd0b0d0c25413d448b8 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 5507b5f430e3d6bef00a7ffcd51df29c13d7477e Author: Zachary T Welch <zw...@su...> Date: Tue Nov 24 08:59:45 2009 -0800 fix doxygen build Update build rules to skip the PDF unless the TeX has been created. Also, fixes a warning regarding pattern rules being a GNU make trick. diff --git a/Makefile.am b/Makefile.am index c067712..fab4704 100644 --- a/Makefile.am +++ b/Makefile.am @@ -35,9 +35,14 @@ 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 + @if [ -f doxygen/latex/refman.tex ]; then \ + echo "Creating $(THE_MANUAL)..."; \ + $(MAKE) $(THE_MANUAL); \ + else \ + echo "Skipping Doxygen PDF..."; \ + fi + +$(THE_MANUAL): %.pdf: %.tex -cd $$(dirname $*) && pdflatex $$(basename $*) -cd $$(dirname $*) && pdflatex $$(basename $*) ----------------------------------------------------------------------- Summary of changes: Makefile.am | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) hooks/post-receive -- Main OpenOCD repository |