--- partimage-0.6.4/Makefile.in.orig 2005-11-13 18:08:05.558622488 +0100 +++ partimage-0.6.4/Makefile.in 2005-11-13 18:08:47.669220704 +0100 @@ -668,21 +668,21 @@ @echo "/etc/pam.d/partimaged" install-data-local: - $(mkinstalldirs) ${sysconfdir} - $(mkinstalldirs) ${sysconfdir}/partimaged + $(mkinstalldirs) ${DESTDIR}${sysconfdir} + $(mkinstalldirs) ${DESTDIR}${sysconfdir}/partimaged - if test ! -f ${sysconfdir}/partimaged/partimagedusers ; then \ + if test ! -f ${DESTDIR}${sysconfdir}/partimaged/partimagedusers ; then \ echo "# note: '#' introduces comments" > \ - ${sysconfdir}/partimaged/partimagedusers ;\ + ${DESTDIR}${sysconfdir}/partimaged/partimagedusers ;\ echo -n "#add only users allowed to " >> \ - ${sysconfdir}/partimaged/partimagedusers ;\ - echo "connect partimaged" >> ${sysconfdir}/partimaged/partimagedusers ;\ + ${DESTDIR}${sysconfdir}/partimaged/partimagedusers ;\ + echo "connect partimaged" >> ${DESTDIR}${sysconfdir}/partimaged/partimagedusers ;\ echo "# (only one login per line)" >> \ - ${sysconfdir}/partimaged/partimagedusers ;\ - echo "" >> ${sysconfdir}/partimaged/partimagedusers ;\ + ${DESTDIR}${sysconfdir}/partimaged/partimagedusers ;\ + echo "" >> ${DESTDIR}${sysconfdir}/partimaged/partimagedusers ;\ echo "#sample # user 'sample' is allowed to connect partimaged" >> \ - ${sysconfdir}/partimaged/partimagedusers ;\ - chmod 600 ${sysconfdir}/partimaged/partimagedusers ;\ + ${DESTDIR}${sysconfdir}/partimaged/partimagedusers ;\ + chmod 600 ${DESTDIR}${sysconfdir}/partimaged/partimagedusers ;\ fi #$(mkinstalldirs) ${infodir}