[haskell-platform] #196: add DESTDIR parameter to Haskell Platform installer Makefile

haskell-platform haskell-platform at projects.haskell.org
Sun May 20 22:08:33 BST 2012


#196: add DESTDIR parameter to Haskell Platform installer Makefile
------------------------------------+---------------------------------------
 Reporter:  chrisdornan             |       Owner:  duncan
     Type:  enhancement             |      Status:  new   
 Priority:  minor                   |   Milestone:        
Component:  Generic source tarball  |    Keywords:        
------------------------------------+---------------------------------------
 When packagers install they usually don't want to install the prepared
 files but to install into a staging area for packaging. This is usually
 done by specifying a DESTDIR paramater to 'make install':

     make DESTDIR=${RPM_BUILD_ROOT} install

 It would be nice if the haskell platform installer could do this.

 At the moment I am patching the scripts/install.sh to look out for a
 DESTDIR file and use the specified directory as the root if it is
 specified. The package installation scripts get passed back to the
 installer in $(DESTDIR)/load (see attached script). I am not not
 necessarily advocating this organization but just use it myself because it
 keeps the patch restricted to install.sh. I submit it in case somebody
 else would find it useful.

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/196>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list