logo       

[GHC] #764: DESTDIR Makefile variable: msg#00029

lang.haskell.glasgow.bugs

Subject: [GHC] #764: DESTDIR Makefile variable

#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_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise