[GRASS-SVN] r37635 -
grass/branches/develbranch_6/gui/wxpython/scripts
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat May 30 16:14:54 EDT 2009
Author: hamish
Date: 2009-05-30 16:14:54 -0400 (Sat, 30 May 2009)
New Revision: 37635
Modified:
grass/branches/develbranch_6/gui/wxpython/scripts/Makefile
Log:
python modules don't need .bat, but .sh do
Modified: grass/branches/develbranch_6/gui/wxpython/scripts/Makefile
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/scripts/Makefile 2009-05-30 19:57:21 UTC (rev 37634)
+++ grass/branches/develbranch_6/gui/wxpython/scripts/Makefile 2009-05-30 20:14:54 UTC (rev 37635)
@@ -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