diff options
author | klarlund <klarlund@gmail.com> | 2008-05-09 18:00:11 +0000 |
---|---|---|
committer | klarlund <klarlund@gmail.com> | 2008-05-09 18:00:11 +0000 |
commit | e76bb3a5577f9077249b32dea98ebfa45ccc497c (patch) | |
tree | 6eef6e7f8fbee9c0e5b5f67f4ca8c248e2957bef /popt | |
parent | b719785afdc6315cab23c6d686fcf642eb732ea9 (diff) | |
download | distcc-git-e76bb3a5577f9077249b32dea98ebfa45ccc497c.tar.gz |
Rewrite setup.py and associated logic to fix multiple build problems.
The recent distcheck revealed that paths were set incorrectly for the setup.py
script. Also, as I dug deeper, it turned out that built files were placed in
the src directory (thanks to os.path.join I found in the distutil's source code,
that trips up the location if relative paths contains too many '..'s.). [The
distccheck revealed this!] I didn't like either that setup was run in the
source directory and not from the build directory (that's asking for trouble).
I did't like either that the search path, the list of includes, in setup.py was
handcoded and not simply that of CPPFLAGS. Finally, I was confused by _builddir
being another build directory under $(buildir). I renamed the former
_include_server to better explain its role.
So, I rewrote most of setup.py (correcting some of the documentation strings
along the way). Also, I partly removed the 'jumping through the hoops'
gymnastics from the Makefile.
TESTING: 'make distcheck'
REVIEWERS: csilvers, fergus
Diffstat (limited to 'popt')
0 files changed, 0 insertions, 0 deletions