[GRASS-SVN] r48813 - grass/trunk/include/Make
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Oct 15 04:42:59 EDT 2011
Author: glynn
Date: 2011-10-15 01:42:59 -0700 (Sat, 15 Oct 2011)
New Revision: 48813
Modified:
grass/trunk/include/Make/Html.make
Log:
Treat images as primary targets instead of intermediate files
Modified: grass/trunk/include/Make/Html.make
===================================================================
--- grass/trunk/include/Make/Html.make 2011-10-14 20:46:36 UTC (rev 48812)
+++ grass/trunk/include/Make/Html.make 2011-10-15 08:42:59 UTC (rev 48813)
@@ -12,8 +12,11 @@
IMGSRC := $(wildcard *.png) $(wildcard *.jpg)
IMGDST := $(patsubst %,$(HTMLDIR)/%,$(IMGSRC))
-$(HTMLDIR)/%.html: %.html %.tmp.html $(HTMLSRC) $(IMGDST) | $(HTMLDIR)
+$(HTMLDIR)/%.html: %.html %.tmp.html $(HTMLSRC) | $(HTMLDIR)
$(PYTHON) $(GISBASE)/tools/mkhtml.py $* $(GRASS_VERSION_DATE) > $@
+ifneq ($(strip $(IMGDST)),)
+ $(MAKE) $(IMGDST)
+endif
$(HTMLDIR)/%.png: %.png | $(HTMLDIR)
$(INSTALL_DATA) $< $@
More information about the grass-commit
mailing list