DESTDIR Makefile variable
|Reported by:||guest||Owned by:||igloo|
|Type of failure:||Test Case:|
|Related Tickets:||Differential Rev(s):|
I'd like the Makefile to have a DESTDIR parameter. This is destined to ease package creation. After the ./configure step the system should be configured to be installed in $(prefix)/bin and other locations. In the "make install" step you would specify a different root directory, like "make install DESTDIR=/tmp/fake-rootdir" to get all files copied to /tmp/fake-rootdir$(prefix)/bin (etc) instead of the real destination directories.
This is nothing new. Most famous free software packages provide some way or another of doing this. The DESTDIR name is the typical one in software using the autotools package.
Thanks in advance and keep up the good work.
Change History (9)
comment:4 Changed 10 years ago by guest
- Resolution invalid deleted
- Status changed from closed to reopened
comment:5 Changed 9 years ago by igloo
- Milestone set to 6.6.1
- Owner set to igloo
- Status changed from reopened to new
comment:7 Changed 9 years ago by igloo
- Resolution set to duplicate
- Status changed from new to closed