Support DESTDIR in Makefile

Bug #1404812 reported by Ryan Carsten Schmidt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pbzip2
Fix Released
Low
Yavor Nikolov

Bug Description

Consider supporting DESTDIR in your Makefile. Unlike PREFIX which specifies where the software will ultimately end up being installed, DESTDIR indicates a root directory into which the software will be temporarily installed before an external force will move its contents to /. Package management systems like MacPorts, for example, use DESTDIR to gather all the files installed by a package in one place, to inventory them and create an archive of them, before installing them in the final location; this enables the package manager to know what files are installed by a package, so that the package manager can later uninstall that package.

The attached patch is what I committed to MacPorts to implement this; perhaps you could include it in the official version.

Revision history for this message
Ryan Carsten Schmidt (z-launchpad-d) wrote :
Changed in pbzip2:
assignee: nobody → Yavor Nikolov (yavor-nikolov)
importance: Undecided → Low
milestone: none → 1.1.13
status: New → In Progress
status: In Progress → Fix Committed
Changed in pbzip2:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.