seq_crumbs icon indicating copy to clipboard operation
seq_crumbs copied to clipboard

Respect DESTDIR in Makefiles

Open mmokrejs opened this issue 6 years ago • 1 comments

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.

build.log.txt

mmokrejs avatar Jul 30 '17 20:07 mmokrejs

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?

mmokrejs avatar Apr 01 '18 22:04 mmokrejs