[GRASS-SVN] r54450 - grass/trunk/scripts/r.in.wms
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 28 09:09:01 PST 2012
Author: martinl
Date: 2012-12-28 09:09:00 -0800 (Fri, 28 Dec 2012)
New Revision: 54450
Modified:
grass/trunk/scripts/r.in.wms/Makefile
grass/trunk/scripts/r.in.wms/r.in.wms.py
Log:
r.in.wms: update Makefile
Modified: grass/trunk/scripts/r.in.wms/Makefile
===================================================================
--- grass/trunk/scripts/r.in.wms/Makefile 2012-12-28 17:06:14 UTC (rev 54449)
+++ grass/trunk/scripts/r.in.wms/Makefile 2012-12-28 17:09:00 UTC (rev 54450)
@@ -2,17 +2,9 @@
PGM = r.in.wms
+ETCFILES = wms_base wms_drv wms_gdal_drv wms_cap_parsers
+
include $(MODULE_TOPDIR)/include/Make/Script.make
include $(MODULE_TOPDIR)/include/Make/Python.make
-MODULES = wms_base wms_drv wms_gdal_drv wms_cap_parsers
-PYFILES := $(patsubst %,$(ETC)/%.py,$(MODULES))
-PYCFILES := $(patsubst %,$(ETC)/%.pyc,$(MODULES))
-
-default: script $(PYFILES) $(PYCFILES)
-
-$(ETCDIR):
- $(MKDIR) $@
-
-$(ETC)/%: % | $(ETC)
- $(INSTALL_DATA) $< $@
+default: script
Modified: grass/trunk/scripts/r.in.wms/r.in.wms.py
===================================================================
--- grass/trunk/scripts/r.in.wms/r.in.wms.py 2012-12-28 17:06:14 UTC (rev 54449)
+++ grass/trunk/scripts/r.in.wms/r.in.wms.py 2012-12-28 17:09:00 UTC (rev 54450)
@@ -170,7 +170,7 @@
import os
import sys
-sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'r.in.wms2'))
+sys.path.insert(1, os.path.join(os.path.dirname(sys.path[0]), 'etc', 'r.in.wms'))
import grass.script as grass
More information about the grass-commit
mailing list