AUDIT: r22551 - gnucash-docs/trunk - Make sure images are found when generating pdf out of tree

Geert Janssens gjanssens at code.gnucash.org
Sat Nov 17 12:05:25 EST 2012


Author: gjanssens
Date: 2012-11-17 12:05:25 -0500 (Sat, 17 Nov 2012)
New Revision: 22551
Trac: http://svn.gnucash.org/trac/changeset/22551

Modified:
   gnucash-docs/trunk/pdf.make
Log:
Make sure images are found when generating pdf out of tree
BP

Modified: gnucash-docs/trunk/pdf.make
===================================================================
--- gnucash-docs/trunk/pdf.make	2012-11-17 10:58:13 UTC (rev 22550)
+++ gnucash-docs/trunk/pdf.make	2012-11-17 17:05:25 UTC (rev 22551)
@@ -6,8 +6,14 @@
 fofile  = $(docname).fo
 pdffile = $(docname).pdf
 
-pdf: $(pdffile)
+pdf: $(abs_builddir)/figures $(pdffile)
 
+# This is only needed for out of tree builds. If you build
+# from within the source directory, the build system
+# will ignore this (mentioning a circular dependency)
+$(abs_builddir)/figures: $(abs_srcdir)/figures
+	ln -s '$<' '$@'
+
 $(fofile): $(entities)
 
 .xml.fo:



More information about the gnucash-changes mailing list