[GRASS-SVN] r40147 - grass/trunk/include/Make

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 26 23:46:41 EST 2009


Author: glynn
Date: 2009-12-26 23:46:40 -0500 (Sat, 26 Dec 2009)
New Revision: 40147

Modified:
   grass/trunk/include/Make/Html.make
Log:
Eliminate bogus re-build when no images exist ("make ..." re-builds
 the current directory if "..." is empty).



Modified: grass/trunk/include/Make/Html.make
===================================================================
--- grass/trunk/include/Make/Html.make	2009-12-26 08:41:21 UTC (rev 40146)
+++ grass/trunk/include/Make/Html.make	2009-12-27 04:46:40 UTC (rev 40147)
@@ -13,7 +13,9 @@
 
 $(HTMLDIR)/%.html: %.html %.tmp.html $(HTMLSRC) | $(HTMLDIR)
 	$(PYTHON) $(GISBASE)/tools/mkhtml.py $* > $@
+ifneq ($(strip $(IMGSRC)),)
 	$(MAKE) $(patsubst %,$(HTMLDIR)/%,$(IMGSRC))
+endif
 
 $(HTMLDIR)/%.png: %.png | $(HTMLDIR)
 	$(INSTALL_DATA) $< $@



More information about the grass-commit mailing list