Yuri Chislov:
> I mean something like:
>
> 51 install_sbin: File = mount.aufs umount.aufs auplink
> 52 install_sbin: TgtDir = ${DESTDIR}/sbin
> 53 install_ubin: File = auchk #aubrsync auctl
> 54 install_ubin: TgtDir = ${DESTDIR}/usr/bin
> 55 install_etc: File = etc_default_aufs
> 56 install_etc: TgtDir = ${DESTDIR}/etc/default
> 57 install_etc: TgtFile = aufs
> 58 install_sbin install_ubin install_etc: ${File}
> 59 if [ ! -d ${TgtDir} ];then mkdir -p ${TgtDir};fi
> 60 install -m 755 -o root -g root -p ${File} ${TgtDir}/${TgtFile}
> 61 install: install_sbin install_ubin install_etc
>
>
> That allow use "make DESTDIR=/tmp/aufs install"
> to get files tree under /tmp/aufs.
I see.
I thought that mount.aufs must be placed /sbin, but it is unnecessary
for your case. I am afraid I forgot chroot case too.
I will fix Makefile in next 'base' release.
Thank you
J. R. Okajima
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword