[GRASS-SVN] r52472 - grass/trunk/scripts/r.in.wms
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jul 28 02:42:28 PDT 2012
Author: martinl
Date: 2012-07-28 02:42:28 -0700 (Sat, 28 Jul 2012)
New Revision: 52472
Modified:
grass/trunk/scripts/r.in.wms/Makefile
Log:
fix Makefile for r.in.wms
Modified: grass/trunk/scripts/r.in.wms/Makefile
===================================================================
--- grass/trunk/scripts/r.in.wms/Makefile 2012-07-28 09:20:59 UTC (rev 52471)
+++ grass/trunk/scripts/r.in.wms/Makefile 2012-07-28 09:42:28 UTC (rev 52472)
@@ -2,17 +2,19 @@
PGM = r.in.wms
-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
+ETCDIR = $(ETC)/r.in.wms
+
+MODULES = wms_base wms_drv wms_gdal_drv
+PYFILES := $(patsubst %,$(ETCDIR)/%.py,$(MODULES))
+PYCFILES := $(patsubst %,$(ETCDIR)/%.pyc,$(MODULES))
+
default: script $(PYFILES) $(PYCFILES)
$(ETCDIR):
$(MKDIR) $@
-$(ETC)/%: % | $(ETC)
+$(ETCDIR)/%: % | $(ETCDIR)
$(INSTALL_DATA) $< $@
More information about the grass-commit
mailing list