id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc
196,add DESTDIR parameter to Haskell Platform installer Makefile,chrisdornan,MtnViewMark,"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.",enhancement,assigned,minor,2013.2.0.0,Generic source tarball,,,
