[GRASS-SVN] r51357 - grass-addons/grass7/raster/r.in.wms2

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 10 14:35:33 EDT 2012


Author: martinl
Date: 2012-04-10 11:35:32 -0700 (Tue, 10 Apr 2012)
New Revision: 51357

Modified:
   grass-addons/grass7/raster/r.in.wms2/Makefile
Log:
r.in.wms2: attempt to fix Makefile (install also `etc` part)


Modified: grass-addons/grass7/raster/r.in.wms2/Makefile
===================================================================
--- grass-addons/grass7/raster/r.in.wms2/Makefile	2012-04-10 16:10:30 UTC (rev 51356)
+++ grass-addons/grass7/raster/r.in.wms2/Makefile	2012-04-10 18:35:32 UTC (rev 51357)
@@ -2,6 +2,17 @@
 
 PGM = r.in.wms2
 
+MODULES = wms_base wms_drv wms_gdal_drv
+PYFILES := $(patsubst %,$(ETC)/%.py,$(MODULES))
+PYCFILES := $(patsubst %,$(ETC)/%.pyc,$(MODULES))
+
 include $(MODULE_TOPDIR)/include/Make/Script.make
+include $(MODULE_TOPDIR)/include/Make/Python.make
 
-default: script
+default: script $(PYFILES) $(PYCFILES)
+
+$(ETCDIR):
+	$(MKDIR) $@
+
+$(ETC)/%: % | $(ETC)
+	$(INSTALL_DATA) $< $@



More information about the grass-commit mailing list