[GRASS-SVN] r37638 - grass/branches/releasebranch_6_4/gui/wxpython/scripts

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 30 17:14:45 EDT 2009


Author: hamish
Date: 2009-05-30 17:14:45 -0400 (Sat, 30 May 2009)
New Revision: 37638

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/scripts/Makefile
Log:
python scripts need .py ext for WinGrass (merge from devbr6)

Modified: grass/branches/releasebranch_6_4/gui/wxpython/scripts/Makefile
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/scripts/Makefile	2009-05-30 21:12:30 UTC (rev 37637)
+++ grass/branches/releasebranch_6_4/gui/wxpython/scripts/Makefile	2009-05-30 21:14:45 UTC (rev 37638)
@@ -9,11 +9,15 @@
 
 ifdef MINGW
 SCRIPT_ACTIONS += create.bat
+PYEXT = .py
+else
+PYEXT = 
 endif
 
 install_scripts: $(SCRIPT_ACTIONS)
-	$(MKDIR) $(ETCDIR)
-	$(INSTALL) d.rast3d $(ETCDIR)/
+	if [ ! -d $(ETC)/gui ] ; then $(MKDIR) $(ETC)/gui ; fi
+	if [ ! -d $(ETCDIR) ] ; then $(MKDIR) $(ETCDIR) ; fi
+	$(INSTALL) d.rast3d $(ETCDIR)/d.rast3d$(PYEXT)
 
 create.bat:
 	if [ ! -d $(ETC)/wxpython ] ; then $(MKDIR) $(ETC)/wxpython ; fi



More information about the grass-commit mailing list