[GRASS-SVN] r45763 - grass-addons/gui/wxpython/psmap

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Mar 26 11:27:58 EDT 2011


Author: martinl
Date: 2011-03-26 08:27:58 -0700 (Sat, 26 Mar 2011)
New Revision: 45763

Modified:
   grass-addons/gui/wxpython/psmap/Makefile
Log:
wxGUI/psmap: update main Makefile for G6/7


Modified: grass-addons/gui/wxpython/psmap/Makefile
===================================================================
--- grass-addons/gui/wxpython/psmap/Makefile	2011-03-26 14:43:25 UTC (rev 45762)
+++ grass-addons/gui/wxpython/psmap/Makefile	2011-03-26 15:27:58 UTC (rev 45763)
@@ -5,7 +5,11 @@
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 include $(MODULE_TOPDIR)/include/Make/Python.make
 
+ifeq ($(GRASS_VERSION_MAJOR), 7)
 ETCDIR = $(ETC)/gui/wxpython
+else
+ETCDIR = $(ETC)/wxpython
+endif
 
 SRCFILES := $(wildcard gui_modules/* xml/*)
 DSTFILES := $(patsubst %,$(ETCDIR)/%,$(SRCFILES)) $(patsubst %.py,$(ETCDIR)/%.pyc,$(filter %.py,$(SRCFILES)))



More information about the grass-commit mailing list