--- Makefile.org 2005-01-19 17:03:24.000000000 +0200 +++ Makefile 2005-01-20 23:27:37.000000000 +0200 @@ -7,6 +7,7 @@ TOPINC = -I${LINUXSRC}/include # This is where the make install target will put stuff PREFIX = /usr/local +DESTDIR = VERSION = 1.0.8 TAROPTS = czvf UNIONFS_DEBUG_CFLAG = -g @@ -84,7 +85,7 @@ cp man/unionfs.4 ${PREFIX}/man/man4 cp man/unionctl.8 ${PREFIX}/man/man8 cp man/uniondbg.8 ${PREFIX}/man/man8 - if [ -f unionfs.ko ] ; then cp unionfs.ko /lib/modules/`uname -r`/kernel/fs ; else cp unionfs.o /lib/modules/`uname -r`/kernel/fs ; fi + if [ -f unionfs.ko ] ; then cp unionfs.ko ${DESTDIR}/lib/modules/`uname -r`/kernel/fs ; else cp unionfs.o ${DESTDIR}/lib/modules/`uname -r`/kernel/fs ; fi release: unionfs-${VERSION}.tar.gz