Age | Commit message (Collapse) | Author |
|
Commit 4fafe8159940 as of 2012-05-14 introduced a simple "make install"
target. Unfortunately it used the DESTDIR variable to mean the location
where captures get installed to (relative to the target filesystem's
root). But traditionally DESTDIR is an optional "root directory" owned
by packagers or used for cross build installs. While the install location
within the filesystem should be relative to a --prefix spec which users
can control during build.
Use DESTDIR during installation in its traditional meaning, accept when
it's specified externally, but don't modify it locally. Use PREFIX to
mean the in-filesystem base directory which share/... gets appended to.
Provide a backwards compatible builtin, accept an external override.
$ make PREFIX=${HOME} install
$ make DESTDIR=$( pwd )/rootfs install
Add a developer comment. Ideally we would not have to roll DIY shell
commands, and use a higher level build tool instead. The reason that
this has not been done yet might be the portable construction of the
list of directories to install at compile time (a guess).
|
|
Commit 4fafe8159940 as of 2012-05-14 introduced a simple "make install"
target. The asterisk wildcard and the additional Makefile "negation" use
to work for clean checkouts, but are considered too greedy a pattern for
locally modified work areas during development.
Explicitly list which subdirs to install to the filesystem. Which
improves robustness, avoids clutter, and is considered acceptable
maintenance overhead since adding more top level directories should
be rare an event. The explicit list is also easy to trim down should
developers want that during local work.
Phrase the subdirectories list such that users can specify additional
items in the "make install" invocation.
|
|
Remove the FSF postal address as it might change (it did in the past).
Reference the gnu.org website instead which is more stable.
|
|
|
|
|
|
|
|
Also, a few small typo fixes etc.
|
|
|
|
|