Change the autogenerated flitconfig.py to use relative paths instead of absolute
Update some tests to use DESTDIR to test this change
Add documentation for this change
Documentation:
Anywhere PREFIX was referenced, I added DESTDIR. In the installation.md documentation file, I added more details about why we have DESTDIR and what can be expected.
Tests:
I added using DESTDIR into test/flit_cli/flit_version/tst_version.py to make sure the version command works both inside of the DESTDIR and after it is copied into PREFIX.
I added using DESTDIR to both tst_install_runthrough.py and tst_uninstall_runthrough.py to make sure the install and uninstall act on the correct set of directories.
Fixes #292
Description:
DESTDIR
variable to the FLiT Makefileflitconfig.py
to use relative paths instead of absoluteDESTDIR
to test this changeDocumentation: Anywhere
PREFIX
was referenced, I addedDESTDIR
. In theinstallation.md
documentation file, I added more details about why we haveDESTDIR
and what can be expected.Tests:
DESTDIR
intotest/flit_cli/flit_version/tst_version.py
to make sure the version command works both inside of theDESTDIR
and after it is copied intoPREFIX
.DESTDIR
to bothtst_install_runthrough.py
andtst_uninstall_runthrough.py
to make sure the install and uninstall act on the correct set of directories.