diff options
author | Greg Troxel <gdt@ir.bbn.com> | 2011-03-24 10:44:17 -0400 |
---|---|---|
committer | Greg Troxel <gdt@ir.bbn.com> | 2011-03-24 10:59:18 -0400 |
commit | a9f6da97ecf6c8558ec0a5144e685353746eedbd (patch) | |
tree | 49bffd8977e864d2fba9f103717ac750f39e3c4a /gpsd_dbus.h | |
parent | e4b6ef85a57457fea22411f04b94e71f2e7d2830 (diff) | |
download | gpsd-a9f6da97ecf6c8558ec0a5144e685353746eedbd.tar.gz |
Use srcdir vs abs_builddir (more) appropriately.
VPATH builds have been broken probably since python was introduced;
the basic issue is that python's build infrastructure is not cross
friendly or VPATH friendly. This commit makes minor changes to allow
VPATH builds to work, and thus 'make distcheck' now gets to the point
of running test cases. (VPATH builds refer to having the build
directory not be the source directory, by running configure in another
directory, enabling multiple different builds from the same source
tree and read-only source trees.)
NB: conventional builds have srcdir==abs_builddir, and therefore these
changes have nearly zero effect in that case.
Specific changes are:
specify that the PYTHON_DISTUTILS_{LIBDIR,SCRIPTDIR} directories are
in the build directory, not the source directory.
make the source directory writable with chmod. This is gross, but
setup.py wants to create a build subdirectory in the sources and
place a temporary directory there.
when symlinking the python shlibs into gps/, do so in a directory
gps in the build directory, rather than the source directory. (Note
that this is the same directory when running configure in the source
directory.)
"make check" results in all regression tests passing (with
conventional src==build).
Diffstat (limited to 'gpsd_dbus.h')
0 files changed, 0 insertions, 0 deletions