As a developer I would like the makefile to follow install variable standards #66

Closed
opened 2019-10-28 20:24:31 +00:00 by sloum · 2 comments
Owner

Having looked at the DESTDIR entry in the GNU make docs, I also started looking at some other documentation and came upon this.

It seems like having DESTDIR is good, but that we may want to make a few other variables available. Particlarly: exec_prefix, bindir, mandir, and man1dir.

Setting things up to allow a user to alter bindir, for example, seems more useful than DESTDIR. If a user uses DESTDIR they end up with a lot more folder structure than they may expect, and there are potential pathing complexities there. I think it is useful for its intended purpose of staging an install for review, but not as much so for an alternate install location.

Having looked at the `DESTDIR` entry in the GNU make docs, I also started looking at some other documentation and came upon [this](https://www.gnu.org/prep/standards/html_node/Directory-Variables.html#Directory-Variables). It seems like having `DESTDIR` is good, but that we may want to make a few other variables available. Particlarly: `exec_prefix`, `bindir`, `mandir`, and `man1dir`. Setting things up to allow a user to alter `bindir`, for example, seems more useful than `DESTDIR`. If a user uses `DESTDIR` they end up with a lot more folder structure than they may expect, and there are potential pathing complexities there. I think it is useful for its intended purpose of staging an install for review, but not as much so for an alternate install location.
sloum added the
non-code
non-functional
build
labels 2019-10-28 20:25:14 +00:00
asdf was assigned by sloum 2019-10-28 20:25:21 +00:00
sloum self-assigned this 2019-10-28 20:25:22 +00:00
Collaborator

I've added the requested variables, did you want to add any more or should we close this off?

I've added the requested variables, did you want to add any more or should we close this off?
Author
Owner

Lets close it out: closed by #76 .

Lets close it out: closed by #76 .
sloum closed this issue 2019-11-08 06:00:53 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sloum/bombadillo#66
No description provided.