diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-03-24 15:46:39 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-03-24 15:46:39 +0000 |
commit | 0c0b0505a797a0af489eb192fb8c8f3036a54c6b (patch) | |
tree | 0b1e7a4d25e4e3ebaace126c5e83b8036a03d85a /packet_states.h | |
parent | 43f559a9c7d470bcbdf121dd6407712718c834f3 (diff) | |
download | gpsd-0c0b0505a797a0af489eb192fb8c8f3036a54c6b.tar.gz |
Python build patches by Richard Hansen ("I" in this comment):
This patch modifies Makefile.am and setup.py so that 'make distcheck'
passes. This patch makes it possible to do VPATH builds (putting build
products in a separate directory from the unpacked tarball).
Note that I have NOT tested dist-rpm.
The most awkward part of this patch is the changes to setup.py. Python's
distutils package does not have built-in support for VPATH builds, which
significantly complicates things. Interestingly, Python's own build system
supposedly supports VPATH builds even though it uses distutils. Python's
setup.py script subclasses several of the distutils packages, so the VPATH
magic must happen somewhere in those hundreds of lines of code. I'll
investigate further when I have the time. For now, the changes to setup.py
are fairly minimal and should work.
This patch also causes setup.py to exit with a non-zero return code if the call
to make fails, and adds missing dependencies related to the Python modules.
Diffstat (limited to 'packet_states.h')
0 files changed, 0 insertions, 0 deletions