[Genabel-commits] r1875 - pkg/OmicABELnoMM/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Oct 29 23:11:48 CET 2014


Author: lckarssen
Date: 2014-10-29 23:11:48 +0100 (Wed, 29 Oct 2014)
New Revision: 1875

Modified:
   pkg/OmicABELnoMM/doc/Makefile.am
Log:
Fixed the problem of building OmicABELnoMM's documentation in a VPATH build. Now 'make distcheck' works as expected.



Modified: pkg/OmicABELnoMM/doc/Makefile.am
===================================================================
--- pkg/OmicABELnoMM/doc/Makefile.am	2014-10-29 17:08:33 UTC (rev 1874)
+++ pkg/OmicABELnoMM/doc/Makefile.am	2014-10-29 22:11:48 UTC (rev 1875)
@@ -9,7 +9,7 @@
 ## enabled via ./configure.
 if BUILD_latexdoc
 if HAVE_PDFLATEX
-DOCDIR = doc/
+DOCDIR = doc
 MANNAME = $(DOCDIR)/UserGuide
 MANPDF = $(MANNAME).pdf
 MANTEXSRC = $(MANNAME).tex
@@ -22,10 +22,11 @@
 endif
 endif
 
-
+SUFFIXES = .aux .tex .pdf
 # Several make rules to generate the PDF from the LaTeX source
 .aux.pdf:
 	@echo === Making PDF: $@ from $^ ===
+	$(MKDIR_P) $(DOCDIR)
 	$(PDFLATEX) $(PDFLATEXOPTS) $(srcdir)/$(MANTEXSRC)
 	@while ( grep "Rerun to "			\
 		$(MANNAME).log  ); do			\
@@ -41,6 +42,7 @@
 
 .tex.aux:
 	@echo === Making $@ file from $^ ===
+	$(MKDIR_P) $(DOCDIR)
 	$(PDFLATEX) $(PDFLATEXOPTS) $(srcdir)/$(MANTEXSRC)
 ## Look for citations. Make sure grep never returns an error code.
 	@grep "^\\\\citation" $(MANAUX) > .btmp.new || true



More information about the Genabel-commits mailing list