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

Make more install paths specifiable during make install #493

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

h3xx
Copy link

@h3xx h3xx commented Aug 3, 2022

Improve usage of variables for install paths, rather than for example gluing together $(PREFIX) + /share at runtime.

Allows overriding by package builders (e.g. make install MANDIR=/usr/man).

Introduces makefile variables:

  • BINDIR (defaults to /usr/local/bin)
  • DATADIR (defaults to /usr/local/share)
  • MANDIR (defaults to /usr/local/share/man)
  • MAN1DIR (defaults to /usr/local/share/man/man1)

This has the advantage of behaving the same as before, if you weren't specifying those variables.

h3xx added 2 commits October 21, 2022 09:59
Introduce variables:
- DATADIR
- MANDIR
- MAN1DIR
@h3xx h3xx changed the title DRY install paths Make install paths specifiable Oct 21, 2022
@h3xx h3xx changed the title Make install paths specifiable Make install paths specifiable during make install Oct 21, 2022
@h3xx h3xx changed the title Make install paths specifiable during make install Make more install paths specifiable during make install Oct 21, 2022
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.

2 participants