Skip to content

[Makefile] Introduce DESTDIR for make install target #483

@iamazeem

Description

@iamazeem

make install DESTDIR=<PATH> will make it easier to switch the installation target other than the configured prefix.
For example, for a root owned prefix such as /usr, it would be desirable to to route the installation to a non-root directory.
It would be helpful especially in cases where packages have separate configure, build, and install stages.

Reference: https://www.gnu.org/prep/standards/html_node/DESTDIR.html

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions