-
Notifications
You must be signed in to change notification settings - Fork 143
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
allow installation in nonstandard directories #136
base: master
Are you sure you want to change the base?
Conversation
copied from https://raw.githubusercontent.com/lz4/lz4/dev/lib/Makefile, tested - works
Renamed "Quick Start" to "Installation", added the `make install` part and a hint for redirection - nearly from https://raw.githubusercontent.com/lz4/lz4/dev/README.md
DESTDIR ?= | ||
# directory variables : GNU conventions prefer lowercase | ||
# see https://www.gnu.org/prep/standards/html_node/Makefile-Conventions.html | ||
# support both lower and uppercase (BSD), use uppercase in script |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You introduced the uppercase variables, but didn't actually use them in the install
target below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@stevengj You are right. I see the reasoning of introducing the uppercase variables, but it worked as-is (on SLES).
Do you prefer to drop the "BSD variant" completely or change the Makefile to use the upper-case variables? I'll commit the appropriate change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better have only the lowercase variants, things get really messy with two variables for each directory.
Doesn't e.g.
|
No, |
I'm surprised to hear it doesn't work, as I use |
An "access denied" error has nothing to do with the Makefile. You just forgot to use |
No, this has something to do with the Makefile as it was raised when doing
With the changed Makefile the same command worked perfectly fine... |
@GitMensch, what version of |
GNU Make 4.2.1 To finish this PR: |
I'm still trying to figure out what problem is being solved here. The current |
copied from https://raw.githubusercontent.com/lz4/lz4/dev/lib/Makefile, tested - works