[GRASS-SVN] r39435 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Oct 7 22:31:29 EDT 2009


Author: glynn
Date: 2009-10-07 22:31:29 -0400 (Wed, 07 Oct 2009)
New Revision: 39435

Modified:
   grass/trunk/gui/wxpython/Makefile
Log:
Build .pyc files


Modified: grass/trunk/gui/wxpython/Makefile
===================================================================
--- grass/trunk/gui/wxpython/Makefile	2009-10-08 02:31:11 UTC (rev 39434)
+++ grass/trunk/gui/wxpython/Makefile	2009-10-08 02:31:29 UTC (rev 39435)
@@ -6,11 +6,12 @@
 
 include $(MODULE_TOPDIR)/include/Make/Dir.make
 include $(MODULE_TOPDIR)/include/Make/Doxygen.make
+include $(MODULE_TOPDIR)/include/Make/Python.make
 
 ETCDIR = $(ETC)/wxpython
 
 SRCFILES := $(wildcard scripts/p.* compat/* gui_modules/* icons/*.* icons/silk/* images/* xml/*) gis_set.py wxgui.py README
-DSTFILES := $(patsubst %,$(ETCDIR)/%,$(SRCFILES))
+DSTFILES := $(patsubst %,$(ETCDIR)/%,$(SRCFILES)) $(patsubst %.py,$(ETCDIR)/%.pyc,$(filter %.py,$(SRCFILES)))
 
 default: install_scripts
 	$(MAKE) parsubdirs



More information about the grass-commit mailing list