r22556 - gnucash-docs/branches/2.4 - [22551]Make sure images are found when generating pdf out of tree

Geert Janssens gjanssens at code.gnucash.org
Sat Nov 17 12:46:41 EST 2012


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

Modified:
   gnucash-docs/branches/2.4/pdf.make
Log:
[22551]Make sure images are found when generating pdf out of tree

Modified: gnucash-docs/branches/2.4/pdf.make
===================================================================
--- gnucash-docs/branches/2.4/pdf.make	2012-11-17 17:06:06 UTC (rev 22555)
+++ gnucash-docs/branches/2.4/pdf.make	2012-11-17 17:46:40 UTC (rev 22556)
@@ -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