get permissions right on installed directories
This commit is contained in:
parent
fe18d806d2
commit
9a827a815b
@ -1,5 +1,5 @@
|
||||
# from: @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
|
||||
# $Id: Makefile,v 1.44 1994/07/08 06:17:23 jtc Exp $
|
||||
# $Id: Makefile,v 1.45 1994/07/21 07:33:11 cgd Exp $
|
||||
|
||||
# Doing a make install builds /usr/include
|
||||
#
|
||||
@ -57,7 +57,9 @@ realinstall:
|
||||
done
|
||||
chown -R ${BINOWN}:${BINGRP} ${DESTDIR}/usr/include
|
||||
find ${DESTDIR}/usr/include -type f | \
|
||||
xargs chmod a-w
|
||||
xargs chmod a=r
|
||||
find ${DESTDIR}/usr/include -type d | \
|
||||
xargs chmod u=rwx,go=rx
|
||||
|
||||
beforeinstall:
|
||||
install -d -o bin -g bin -m 755 ${DESTDIR}/usr/include
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# $Id: Makefile,v 1.10 1994/02/16 05:50:47 cgd Exp $
|
||||
# $Id: Makefile,v 1.11 1994/07/21 07:33:01 cgd Exp $
|
||||
#
|
||||
|
||||
FILES= README syscall vfs misc
|
||||
@ -11,6 +11,7 @@ install:
|
||||
find ${FILES} -name CVS -prune -o -type f -print | \
|
||||
cpio -pdum ${DESTDIR}${BINDIR}/lkm
|
||||
chown -R ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/lkm
|
||||
find ${DESTDIR}${BINDIR}/lkm | xargs chmod a=rX
|
||||
find ${DESTDIR}${BINDIR}/lkm -type f | xargs chmod a=rX
|
||||
find ${DESTDIR}${BINDIR}/lkm -type d | xargs chmod u=rwX,go=rX
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user