[GRASS-SVN] r37633 - in grass/branches/develbranch_6/gui: scripts wxpython/scripts

svn_grass at osgeo.org svn_grass at osgeo.org
Sat May 30 15:55:55 EDT 2009


Author: hamish
Date: 2009-05-30 15:55:55 -0400 (Sat, 30 May 2009)
New Revision: 37633

Modified:
   grass/branches/develbranch_6/gui/scripts/Makefile
   grass/branches/develbranch_6/gui/wxpython/scripts/Makefile
Log:
fix #623: deps happen first

Modified: grass/branches/develbranch_6/gui/scripts/Makefile
===================================================================
--- grass/branches/develbranch_6/gui/scripts/Makefile	2009-05-30 19:10:59 UTC (rev 37632)
+++ grass/branches/develbranch_6/gui/scripts/Makefile	2009-05-30 19:55:55 UTC (rev 37633)
@@ -12,6 +12,8 @@
 	for file in d.* g.* r.* v.* ; do $(INSTALL) $$file $(ETC)/gui/scripts/ ; done
 
 create.bat:
+	if [ ! -d $(ETC)/gui ] ; then $(MKDIR) $(ETC)/gui ; fi
+	if [ ! -d $(ETC)/gui/scripts ] ; then $(MKDIR) $(ETC)/gui/scripts ; fi
 	for file in d.* g.*sh r.* v.*sh ; do \
 	sed -e "s#SCRIPT_NAME#$$file#" $(MODULE_TOPDIR)/gui/scripts/windows_launch.bat \
 		> $(ETC)/gui/scripts/$$file.bat ; done

Modified: grass/branches/develbranch_6/gui/wxpython/scripts/Makefile
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/scripts/Makefile	2009-05-30 19:10:59 UTC (rev 37632)
+++ grass/branches/develbranch_6/gui/wxpython/scripts/Makefile	2009-05-30 19:55:55 UTC (rev 37633)
@@ -16,6 +16,8 @@
 	$(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
 



More information about the grass-commit mailing list