seq_crumbs
seq_crumbs copied to clipboard
Respect DESTDIR in Makefiles
Hi,
somewhere you should preprend DESTDIR
variable in front of $PREFIX
so that installs into a temporary place would work as usual. Most pythonic packages with setup.py
work that way. I will attach a log file showing that the install process tried to install the files right to my /usr/share/man/man1/
instead of "$DESTDIR"/usr/share/man/man1/
.
Thank you.
This works around it for me but uses Gentoo-specific variable.
sed -e "s#sys.prefix#os.getenv('ED')+'/usr/'#" -i setup.py
There must be some generally existing variable used by other pythonic packages, something like DESTDIR
respected by make
?