[GHC] #1163: ghc install should support DESTDIR

GHC trac at galois.com
Thu Feb 22 09:46:42 EST 2007


#1163: ghc install should support DESTDIR
--------------------------+-------------------------------------------------
 Reporter:  bohanlon      |          Owner:             
     Type:  bug           |         Status:  new        
 Priority:  low           |      Milestone:             
Component:  Compiler      |        Version:  6.6        
 Severity:  normal        |     Resolution:             
 Keywords:  installation  |     Difficulty:  Easy (1 hr)
 Testcase:                |   Architecture:  Multiple   
       Os:  Unknown       |  
--------------------------+-------------------------------------------------
Comment (by malcolm.wallace at cs.york.ac.uk):

 DESTDIR is for building a binary distribution by installing it into a
 sandbox, then tarring up the entire sandbox before shipping it to end
 users.  So for example, if something naturally installs into /usr/lib and
 /usr/bin, then by setting DESTDIR=/tmp, the components actually get
 installed into /tmp/usr/lib and /tmp/usr/bin.  Then the packager creates a
 tar file from /tmp, which when unpacked on the destination machine in /
 puts things in the eventual correct location.

 All ghc's "make install" target needs to do is copy stuff to
 $DESTDIR$prefix rather than $prefix.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1163>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list