-
-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use DESTDIR in Makefile for debian #424
Comments
@sobolevn @simbo1905 Please let me know if you have thoughts about this issue. |
Seems like a good idea. Will it effect fedora and alpine? |
@simbo1905 they actually document cases where it works just as it does in Debian: https://wiki.archlinux.org/index.php/creating_packages indicates that arch linux expects it to work as debian does, https://fedoraproject.org/wiki/Archive:PackagingDrafts/MakeInstall indicates Fedora is the same. Edit: Repeated point removed |
https://nullprogram.com/blog/2017/08/20/ also talks about DESTDIR and PREFIX both being makefile conventions. |
This is part of #386
The TL;DR:
We should probably be installing into $DESTDIR/$PREFIX
Details:
According to the Debian Upstream Guide https://wiki.debian.org/UpstreamGuide we should be using DESTDIR (they don't mention PREFIX)
Gnu coding standards agree at https://www.gnu.org/prep/standards/html_node/DESTDIR.html
FreeBSD docs at https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-prefix.html give even more details:
The text was updated successfully, but these errors were encountered: