Prechádzať zdrojové kódy

attempt to fix https://trac.osgeo.org/grass/ticket/580

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63592 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 rokov pred
rodič
commit
0d2439a067
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  1. 3 3
      gui/scripts/Makefile

+ 3 - 3
gui/scripts/Makefile

@@ -7,12 +7,12 @@ include $(MODULE_TOPDIR)/include/Make/Python.make
 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