[GRASS-SVN] r40221 - grass/trunk/include/Make
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 4 16:02:21 EST 2010
Author: glynn
Date: 2010-01-04 16:02:20 -0500 (Mon, 04 Jan 2010)
New Revision: 40221
Modified:
grass/trunk/include/Make/Html.make
Log:
Guard against empty $(IMGSRC) (work-around suspected make bug)
Modified: grass/trunk/include/Make/Html.make
===================================================================
--- grass/trunk/include/Make/Html.make 2010-01-04 21:01:21 UTC (rev 40220)
+++ grass/trunk/include/Make/Html.make 2010-01-04 21:02:20 UTC (rev 40221)
@@ -14,7 +14,9 @@
$(HTMLDIR)/%.html: %.html %.tmp.html $(HTMLSRC) | $(HTMLDIR)
$(PYTHON) $(GISBASE)/tools/mkhtml.py $* > $@
ifneq ($(strip $(IMGSRC)),)
- $(MAKE) $(patsubst %,$(HTMLDIR)/%,$(IMGSRC))
+ if test -n "$(IMGSRC)" ; then \
+ $(MAKE) $(patsubst %,$(HTMLDIR)/%,$(IMGSRC)) ; \
+ fi
endif
$(HTMLDIR)/%.png: %.png | $(HTMLDIR)
More information about the grass-commit
mailing list