@Manuel: DESTDIR adds a prefix to the location that files are copied to, but it does not change the location files are loaded from at run time, while changing the installation location in custom.mk also changes the run time location. Therefore, to make packages DESTDIR support is needed.
@Tom: Thanks for the patch! I added it to git.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hmm, I just thought of something: isn't modifying custom.mk enough to get all you want? That file is intended to be customized for packagers.
@Manuel: DESTDIR adds a prefix to the location that files are copied to, but it does not change the location files are loaded from at run time, while changing the installation location in custom.mk also changes the run time location. Therefore, to make packages DESTDIR support is needed.
@Tom: Thanks for the patch! I added it to git.
Merged by Maarten in commit d9a79e806d455ee85fcfff75d7435b0a57d0f476