Skip to content

Makefile: DESTDIR is not added to PREFIX if PREFIX is manually given #2571

@nanonyme

Description

@nanonyme

When used with packaging, we might want prefix to point to /usr and collect package artifacts into /staging-dir. In this case we would set PREFIX=/usr and DESTDIR=/staging-dir. This results in make actually installing files under /usr (which might not be mutable) instead of under /staging-dir/usr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions