On Sun, 2009-11-22 at 10:17 +0100, Øyvind Harboe wrote: > I can no longer build docs when src != build. I believe this is trivially > reproducible and that the breakage is relatively recent(a month > or so). > > Or... perhaps I'm missing some tool on my laptop? > > make docs > make doxygen > > => both fail > > make doxygen/latex/refman.pdf > make[1]: Entering directory `/home/oyvind/workspace/build' > make[1]: *** No rule to make target `doxygen/latex/refman.pdf'. Stop.
Try the attached patch. If this fixes it, I'll push it along. --Z
From 9a004d41b0d491d1f9ce6aac2d677c0a595f5df9 Mon Sep 17 00:00:00 2001 From: Zachary T Welch <z...@superlucidity.net> Date: Tue, 24 Nov 2009 08:59:45 -0800 Subject: [PATCH] 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. Signed-off-by: Zachary T Welch <z...@superlucidity.net> --- Makefile.am | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) 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 $*) -- 1.6.4.4
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development