[GRASS-SVN] r33481 - in grass/branches/develbranch_6/swig/python/NumPtr: . src

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 17 04:06:47 EDT 2008


Author: hamish
Date: 2008-09-17 04:06:47 -0400 (Wed, 17 Sep 2008)
New Revision: 33481

Modified:
   grass/branches/develbranch_6/swig/python/NumPtr/Makefile
   grass/branches/develbranch_6/swig/python/NumPtr/README.GRASS
   grass/branches/develbranch_6/swig/python/NumPtr/src/Makefile
Log:
clean clean; rm needs -f in case setup.pyc isn't there

Modified: grass/branches/develbranch_6/swig/python/NumPtr/Makefile
===================================================================
--- grass/branches/develbranch_6/swig/python/NumPtr/Makefile	2008-09-17 07:53:23 UTC (rev 33480)
+++ grass/branches/develbranch_6/swig/python/NumPtr/Makefile	2008-09-17 08:06:47 UTC (rev 33481)
@@ -9,3 +9,5 @@
 
 clean:
 	-rm -rf build/
+	-rm -f setup.pyc
+	$(MAKE) -C src clean

Modified: grass/branches/develbranch_6/swig/python/NumPtr/README.GRASS
===================================================================
--- grass/branches/develbranch_6/swig/python/NumPtr/README.GRASS	2008-09-17 07:53:23 UTC (rev 33480)
+++ grass/branches/develbranch_6/swig/python/NumPtr/README.GRASS	2008-09-17 08:06:47 UTC (rev 33481)
@@ -48,13 +48,13 @@
 Modifications from the upstream tarball:
  * updated setup.py with current version number, upstream URL
  * removed old backup versions of a few files
- * removed binary lib/NumPtr.pyc. It will be automaticall regenerated (??)
+ * removed binary lib/NumPtr.pyc. It will be automatically regenerated
+ * update and GNUify src/Makefile (mostly unused)
  * added this file, VERSION file
 
 
 TODO:
- * incorporate the build into swig/python/Makefile, including byte-
-   compiling the .pyc file (by running build/lib.../test.py) and setting
+ * incorporate the build into swig/python/Makefile, including setting
    an appropriate install destination. (use "setup.py install" to do the
    install or use the common Makefile method for that?)
 

Modified: grass/branches/develbranch_6/swig/python/NumPtr/src/Makefile
===================================================================
--- grass/branches/develbranch_6/swig/python/NumPtr/src/Makefile	2008-09-17 07:53:23 UTC (rev 33480)
+++ grass/branches/develbranch_6/swig/python/NumPtr/src/Makefile	2008-09-17 08:06:47 UTC (rev 33481)
@@ -48,7 +48,7 @@
 	$(CC) -c -I$(PYTHONINC) -o $(name)_wrap.o $(name)_wrap.c
 
 clean:
-	rm -f $(OBJ) *.so *_wrap.* *.pyc *_lib.*
+	rm -f $(OBJ) *.so *_wrap.* *.pyc *_lib.* $(name).py
 
 test:
 	python test.py



More information about the grass-commit mailing list