[GRASS-SVN] r63592 - grass/trunk/gui/scripts

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 18 08:04:03 PST 2014


Author: martinl
Date: 2014-12-18 08:04:03 -0800 (Thu, 18 Dec 2014)
New Revision: 63592

Modified:
   grass/trunk/gui/scripts/Makefile
Log:
attempt to fix #580

Modified: grass/trunk/gui/scripts/Makefile
===================================================================
--- grass/trunk/gui/scripts/Makefile	2014-12-18 15:53:26 UTC (rev 63591)
+++ grass/trunk/gui/scripts/Makefile	2014-12-18 16:04:03 UTC (rev 63592)
@@ -7,12 +7,12 @@
 DSTDIR = $(GUIDIR)/scripts
 
 ifdef MINGW
-PYFILES := $(patsubst %.py, $(DSTDIR)/%.py, $(filter %.py, $(PY_SOURCES)))
+PYFILES := $(patsubst %.py, $(DSTDIR)/%_wrapper.py, $(filter %.py, $(PY_SOURCES)))
 BATFILES := $(patsubst %.py, $(DSTDIR)/%.bat, $(filter %.py, $(PY_SOURCES)))
-$(DSTDIR)/%.py: %.py | $(DSTDIR)
+$(DSTDIR)/%_wrapper.py: %.py | $(DSTDIR)
 	$(INSTALL) $< $@
 $(DSTDIR)/%.bat: $(MODULE_TOPDIR)/scripts/windows_launch.bat
-	sed -e "s#SCRIPT_NAME#$(*)#" -e "s#SCRIPT_DIR#%GISBASE%/gui/scripts#" $(MODULE_TOPDIR)/scripts/windows_launch.bat > $@
+	sed -e "s#SCRIPT_NAME#$(*)_wrapper#" -e "s#SCRIPT_DIR#%GISBASE%/gui/scripts#" $(MODULE_TOPDIR)/scripts/windows_launch.bat > $@
 	unix2dos $@
 default: $(PYFILES) $(BATFILES)
 else



More information about the grass-commit mailing list