gnucash-docs maint: Add figures files to e-doc dependencies so that e-docs are rebuilt if they change.

John Ralls jralls at code.gnucash.org
Mon Nov 2 14:57:00 EST 2015


Updated	 via  https://github.com/Gnucash/gnucash-docs/commit/e72a420d (commit)
	from  https://github.com/Gnucash/gnucash-docs/commit/c8462346 (commit)



commit e72a420d6f0eb7b2b5e7837a9f6e820e82b04eb6
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Nov 2 11:56:42 2015 -0800

    Add figures files to e-doc dependencies so that e-docs are rebuilt if they change.

diff --git a/epub.make b/epub.make
index 0bf585b..1413653 100644
--- a/epub.make
+++ b/epub.make
@@ -2,7 +2,7 @@
 
 epubfile = $(docname).epub
 
-$(epubfile): $(entities)
+$(epubfile): $(entities) $(figfiles)
 
 epub: $(epubfile)
 
diff --git a/mobi.make b/mobi.make
index 3145a6d..eda858e 100644
--- a/mobi.make
+++ b/mobi.make
@@ -2,6 +2,8 @@
 
 mobifile = $(docname).mobi
 
+$(mobifile): $(entities) $(figfiles)
+
 mobi: $(mobifile)
 
 mobi-am:
diff --git a/pdf.make b/pdf.make
index 1d7ecc3..aefb3ec 100644
--- a/pdf.make
+++ b/pdf.make
@@ -6,6 +6,8 @@
 fofile  = $(docname).fo
 pdffile = $(docname).pdf
 
+$(pdffile): $(figfiles)
+
 pdf: $(abs_builddir)/figures $(pdffile)
 
 # This is only needed for out of tree builds. If you build
diff --git a/xmldocs.make b/xmldocs.make
index d61d572..80ee8dc 100644
--- a/xmldocs.make
+++ b/xmldocs.make
@@ -82,7 +82,7 @@ all: ${OMF}
 # ************** Rules to make and install html documentation ********************
 styledir = $(top_srcdir)/stylesheet
 CLEANFILES += $(docname)/*.html
-
+figfiles = $(figdir)/*.png
 html: all convert-html copy-pics copy-style
 
 # Convert xml to html with xsltproc



Summary of changes:
 epub.make    | 2 +-
 mobi.make    | 2 ++
 pdf.make     | 2 ++
 xmldocs.make | 2 +-
 4 files changed, 6 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list