gnucash-docs maint: List svg files using find to avoid annoying file not found warnings

Geert Janssens gjanssens at code.gnucash.org
Tue Oct 29 12:04:22 EDT 2019


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



commit a14e85f55f1eadffdd62f2ff3d3d21ea52891d0c
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Oct 29 17:04:14 2019 +0100

    List svg files using find to avoid annoying file not found warnings

diff --git a/xmldocs.make b/xmldocs.make
index 059a698..c630c5d 100644
--- a/xmldocs.make
+++ b/xmldocs.make
@@ -52,7 +52,7 @@ xml_files = $(entities) $(docname).xml $(top_srcdir)/docbook/gnc-docbookx.dtd
 gnomehelp_DATA =  $(xml_files)
 gnomehelpfiguresdir = $(gnomehelpdir)/$(figdir)
 gnomehelpfigures_DATA = $(shell ls ${srcdir}/${figdir}/*.png)
-gnomehelpfigures_DATA += $(shell ls ${srcdir}/${figdir}/*.svg)
+gnomehelpfigures_DATA += $(shell find ${srcdir}/${figdir} -name *.svg)
 
 uninstall-hook:
 	rmdir --ignore-fail-on-non-empty "$(DESTDIR)$(gnomehelpfiguresdir)"



Summary of changes:
 xmldocs.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the gnucash-changes mailing list