This pull request includes several commits to make the creation of Linux distribution packages easier. Namely...
The latest commit requires a fairly new version of NQP, so I understand if this can't be merged right away.
There are still things to do; there are annotations in the PIR output for the modules that indicate the staging directory, and hardcoded paths that point to the staging directory for loading dependencies in PIR. I hope to resolve these in later commits.
Remove DESTDIR prefix from bin-install line
If using DESTDIR to package up Rakudo Star in an RPM or similar
format, the Makefile currently ends up writing the package build
directory into the shebang line of the installed scripts. This
is probably not a good idea.
Set PERL6LIB to destination dir when precompiling
This allows package managers to install modules to a staging
directory with the process blowing up
Explicitly specify module path when building debugger
Set --dynext when building debugger
This requires a fairly new version of NQP
Merge pull request #17 from hoelzro/master
Make building RPMS and other Linux packages easier