[GRASS-SVN] r29535 - in grass/trunk/gui: . wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 29 14:53:08 EST 2007


Author: neteler
Date: 2007-12-29 14:53:07 -0500 (Sat, 29 Dec 2007)
New Revision: 29535

Added:
   grass/trunk/gui/wxpython/Makefile
Modified:
   grass/trunk/gui/Makefile
Log:
Makefile for wxgrass to install it if Python detected

Modified: grass/trunk/gui/Makefile
===================================================================
--- grass/trunk/gui/Makefile	2007-12-29 16:42:37 UTC (rev 29534)
+++ grass/trunk/gui/Makefile	2007-12-29 19:53:07 UTC (rev 29535)
@@ -3,6 +3,7 @@
 SUBDIRS = icons scripts
 
 TCLTKBASED = tcltk
+PYTHONBASED = wxpython
 
 include $(MODULE_TOPDIR)/include/Make/Platform.make
 
@@ -11,6 +12,11 @@
     SUBDIRS += $(TCLTKBASED)
 endif
 
+#compile if Python present:
+ifneq ($(strip $(USE_PYTHON)),)
+    SUBDIRS += $(PYTHONBASED)
+endif
+
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 
 default: parsubdirs

Added: grass/trunk/gui/wxpython/Makefile
===================================================================
--- grass/trunk/gui/wxpython/Makefile	                        (rev 0)
+++ grass/trunk/gui/wxpython/Makefile	2007-12-29 19:53:07 UTC (rev 29535)
@@ -0,0 +1,19 @@
+MODULE_TOPDIR = ../..
+
+PGM=wxgrass
+
+include $(MODULE_TOPDIR)/include/Make/Script.make
+
+default: install_scripts
+
+install_scripts:
+	$(MKDIR) $(ETC)/wx/wx $(ETC)/wx/compat $(ETC)/wx/display_driver  $(ETC)/wx/gui_modules  $(ETC)/wx/icons $(ETC)/wx/icons/silk $(ETC)/wx/images  $(ETC)/wx/scripts
+	$(INSTALL_DATA) compat/* $(ETC)/wx/compat/
+	$(INSTALL_DATA) display_driver/* $(ETC)/wx/display_driver/
+	$(INSTALL_DATA) gui_modules/* $(ETC)/wx/gui_modules/
+	$(INSTALL_DATA) icons/*.* $(ETC)/wx/icons/
+	$(INSTALL_DATA) icons/silk/* $(ETC)/wx/icons/silk/
+	$(INSTALL_DATA) images/* $(ETC)/wx/images/
+	$(INSTALL_DATA) scripts/* $(ETC)/wx/scripts/
+	$(INSTALL_DATA) gis_set.py wxgui.py $(ETC)/wx/
+	$(INSTALL) -m 755 wxgrass $(GISBASE)/scripts/


Property changes on: grass/trunk/gui/wxpython/Makefile
___________________________________________________________________
Name: svn:eol-style
   + native



More information about the grass-commit mailing list