(In koha-17.05.03/) when calling > DESTDIR=fancydir make install the DESTDIR from the command-line is ignored and the empty one from Makefile is used. In Makefile the following line can be found > DESTDIR = If this line is deleted, the DESTDIR from the command-line is used as expected. (But I don't know if this is a good idea to do, beside that Makefile is generated.) This behaviour is bad for package-building of koha. Steps to reproduce: Just follow the normal install procedure (as normal user): > perl Makefile.PL --install_base /usr/share/koha --install_mode standard ... > make > DESTDIR=fancydir make install The following error should occur: > ERROR: Can't create '/etc/koha' > mkdir /etc/koha: Permission denied at ... Expected is that everything is installed below $DESTDIR/, e.g. $DESTDIR/etc/koha, and not root.
The line mentioned does on longer exist in Makefile. I assume this has been fixed.