gnucash-docs master: Fix chm mapfile target and cleanfiles.

John Ralls jralls at code.gnucash.org
Fri Sep 15 18:24:52 EDT 2017


Updated	 via  https://github.com/Gnucash/gnucash-docs/commit/6ac6de00 (commit)
	from  https://github.com/Gnucash/gnucash-docs/commit/d649fb74 (commit)



commit 6ac6de00042a9de382143a5620f3361b0205ccd9
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 15 15:21:49 2017 -0700

    Fix chm mapfile target and cleanfiles.
    
    The mapfile target would fail if the directory was already built,
    apparently not recognizing that its target was complete.
    Cleanfiles was missing several build targets.

diff --git a/chm.make b/chm.make
index 75d2beb..76fc0e9 100644
--- a/chm.make
+++ b/chm.make
@@ -10,7 +10,6 @@ htmlhelp_xsl="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhe
 
 $(chmfile): $(entities) $(figfiles)
 $(mapfile): $(chmfile)
-	mv htmlhelp.hhmap $(mapfile)
 
 chm-local: $(chmfile) $(mapfile)
 
@@ -40,8 +39,9 @@ install-chm-local: $(chmfile) $(mapfile)
 	rm mymaps
 	"${HHC}" htmlhelp.hhp  >/dev/null  || true
 	mv htmlhelp.chm $(chmfile)
+	mv htmlhelp.hhmap $(mapfile)
 
-CLEANFILES += $(chmfile) $(mapfile) htmlhelp.hhp
+CLEANFILES += $(chmfile) $(mapfile) htmlhelp.hhp *.html toc.hhc
 # Don't try to make dist from windows, this is here only to silence an
 # error from the Italian translations.
 EXTRA_DIST = $(entities) $(docname).xml



Summary of changes:
 chm.make | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list