[GHC] #764: DESTDIR Makefile variable
GHC
trac at galois.com
Fri May 5 12:18:11 EDT 2006
#764: DESTDIR Makefile variable
--------------------------------+-------------------------------------------
Reporter: guest | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Build System | Version: 6.4.2
Severity: normal | Keywords:
Os: Unknown | Difficulty: Unknown
Architecture: Unknown |
--------------------------------+-------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/764>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list