[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gpsd-commit-watch
Subject:    [Gpsd-commit-watch] r6899 - trunk
From:       esr at BerliOS <esr () mail ! berlios ! de>
Date:       2009-12-23 0:58:47
Message-ID: 200912230058.nBN0wlBW007512 () sheep ! berlios ! de
[Download RAW message or body]

Author: esr
Date: 2009-12-23 01:58:46 +0100 (Wed, 23 Dec 2009)
New Revision: 6899

Modified:
   trunk/Makefile.am
Log:
Arrange for setup.py to get called on installation as it should.


Modified: trunk/Makefile.am
===================================================================
--- trunk/Makefile.am	2009-12-22 23:59:23 UTC (rev 6898)
+++ trunk/Makefile.am	2009-12-23 00:58:46 UTC (rev 6899)
@@ -226,8 +226,6 @@
 #
 # Build Python binding
 #
-# install may require --root depending on what you're doing.
-# python setup.py install --root=$DESTIR --prefix=$PREFIX
 if HAVE_PYTHON
 PYEXTENSIONS = gpspacket.so gpslib.so
 noinst_SCRIPTS = gpspacket.so gpslib.so setup.py
@@ -255,6 +253,8 @@
 # Clean up after Python
 clean-local:
 	rm -rf build
+install-exec-local:
+	python setup.py install --root=$(DESTDIR) --prefix=$(PREFIX)
 
 if LIBGPSMM_ENABLE
 TESTBINS = test_float test_trig test_gpsmm test_bits test_packet test_geoid \

_______________________________________________
Gpsd-commit-watch mailing list
Gpsd-commit-watch@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/gpsd-commit-watch
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic