This patch will allow someone building iscsitarget from source to specify where to install the programs and config files. Without this patch, iscsitarget is hardcoded to use /usr/sbin for programs and /etc for ietd.conf, initiators.allow and initiators.deny. (The man page and documentation directories were the only customizable locations.) After applying this patch it's possible to customize all installation locations by overriding Makefile variables. For example: 'make SBINDIR=/usr/local/sbin SYSCONFDIR=/usr/local/etc MANDIR=/usr/local/man DOCDIR=/usr/local/doc install'
iscsitarget customizable installation locations