Browse Source

r.in.wms: update Makefile

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@54450 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
46727f4be1
2 changed files with 4 additions and 12 deletions
  1. 3 11
      scripts/r.in.wms/Makefile
  2. 1 1
      scripts/r.in.wms/r.in.wms.py

+ 3 - 11
scripts/r.in.wms/Makefile

@@ -2,17 +2,9 @@ MODULE_TOPDIR = ../..
 
 
 PGM = r.in.wms
 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/Script.make
 include $(MODULE_TOPDIR)/include/Make/Python.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

+ 1 - 1
scripts/r.in.wms/r.in.wms.py

@@ -170,7 +170,7 @@ This program is free software under the GNU General Public License
 
 
 import os
 import os
 import sys
 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
 import grass.script as grass