Skip to content
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

fix install path when DESTDIR is used in make install command line #154

Merged
merged 4 commits into from
Sep 26, 2024

Conversation

wkliao
Copy link
Member

@wkliao wkliao commented Sep 25, 2024

Note on DESTDIR. GNU autoconf manual Section 16.4 Installation Names has the
following statement. "The second method involves providing the 'DESTDIR'
variable. For example, 'make install DESTDIR=/alternate/directory' will
prepend '/alternate/directory' before all installation names. The approach of
'DESTDIR' overrides is not required by the GNU Coding Standards, and does not
work on platforms that have drive letters. On the other hand, it does better
at avoiding recompilation issues, and works well even when some directory
options were not specified in terms of '${prefix}' at configure time."

Note on DESTDIR. GNU autoconf manual Section 16.4 Installation Names has the
following statement. "The second method involves providing the 'DESTDIR'
variable. For example, 'make install DESTDIR=/alternate/directory' will
prepend '/alternate/directory' before all installation names. The approach of
'DESTDIR' overrides is not required by the GNU Coding Standards, and does not
work on platforms that have drive letters. On the other hand, it does better
at avoiding recompilation issues, and works well even when some directory
options were not specified in terms of '${prefix}' at configure time."
@wkliao wkliao merged commit 11d017e into master Sep 26, 2024
3 of 4 checks passed
@wkliao wkliao deleted the DESTDIR branch September 26, 2024 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant