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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 30 16:16:28 EDT 2009


Author: hamish
Date: 2009-05-30 16:16:28 -0400 (Sat, 30 May 2009)
New Revision: 37636

Modified:
   grass/branches/releasebranch_6_4/gui/wxpython/scripts/Makefile
Log:
python modules don't need .bat, but .sh do (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 20:14:54 UTC (rev 37635)
+++ grass/branches/releasebranch_6_4/gui/wxpython/scripts/Makefile	2009-05-30 20:16:28 UTC (rev 37636)
@@ -16,9 +16,11 @@
 	$(INSTALL) d.rast3d $(ETCDIR)/
 
 create.bat:
-	if [ ! -d $(ETC)/gui ] ; then $(MKDIR) $(ETC)/gui ; fi
-	if [ ! -d $(ETCDIR) ] ; then $(MKDIR) $(ETCDIR) ; fi
-	sed -e "s#SCRIPT_NAME#d.rast3d#" $(MODULE_TOPDIR)/gui/scripts/windows_launch.bat \
-		> $(ETCDIR)/d.rast3d.bat
+	if [ ! -d $(ETC)/wxpython ] ; then $(MKDIR) $(ETC)/wxpython ; fi
+	if [ ! -d $(ETC)/wxpython/scripts ] ; then $(MKDIR) $(ETC)/wxpython/scripts ; fi
+	for file in p.* ; do \
+	sed -e "s#SCRIPT_NAME#$$file#" $(MODULE_TOPDIR)/gui/scripts/windows_launch.bat \
+		| sed -e "s#etc/gui/#etc/wxpython/#" \
+		> $(ETC)/wxpython/scripts/$$file.bat ; done
 
 clean: cleansubdirs



More information about the grass-commit mailing list