From f604ccac59c97e892c1ffe97f9ab4176f802d91f Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 3 Sep 1996 15:14:45 +0000 Subject: [PATCH] BSD.usr.dist: Added forgotten share/doc/psd/05.sysman and share/zoneinfo/America/Indiana. bsd.doc.mk: Nuked mkdir -p and wrong fixups of the leaf directory's ownerships and permissions. The doc tree should be well enough established for this to be safe. Installs to directories should use a trailing slash on the directory name so installs to non-drectories are fatal, but I didn't start changing them. bsd.man.mk: Nuked mkdir -p and wrong fixups of the leaf directory's ownerships and permissions. They were overkill to create just /usr/share/info. zoneinfo/Makefile: No changes yet. zic creates directories with ordinary 755 permissions. Why do we use 555 permissions for directories in /usr/share/zoninfo. Why not for zoneinfo itself? /proc and /dev/fd are the only other directories in the system with 555 permissions. --- etc/mtree/BSD.usr.dist | 6 +++++- share/mk/bsd.doc.mk | 10 +--------- share/mk/bsd.info.mk | 10 +--------- 3 files changed, 7 insertions(+), 19 deletions(-) diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist index 643c4a0ad4e9..05527a96bfed 100644 --- a/etc/mtree/BSD.usr.dist +++ b/etc/mtree/BSD.usr.dist @@ -1,4 +1,4 @@ -# $Id: BSD.usr.dist,v 1.65 1996/08/31 13:04:03 wosch Exp $ +# $Id: BSD.usr.dist,v 1.66 1996/09/02 13:10:02 phk Exp $ # /set type=dir uname=bin gname=bin mode=0755 @@ -60,6 +60,8 @@ papers .. psd + 05.sysman + .. 12.make .. 18.gprof @@ -451,6 +453,8 @@ Africa .. America + Indiana + .. .. Asia .. diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk index 833b821cdea7..a73c2647f0a4 100644 --- a/share/mk/bsd.doc.mk +++ b/share/mk/bsd.doc.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91 -# $Id: bsd.doc.mk,v 1.24 1996/03/09 23:48:53 wosch Exp $ +# $Id: bsd.doc.mk,v 1.25 1996/06/24 04:23:54 jkh Exp $ PRINTER?= ascii @@ -76,14 +76,6 @@ clean: FILES?= ${SRCS} realinstall: - @if [ ! -d "${DESTDIR}${BINDIR}/${VOLUME}" ]; then \ - /bin/rm -f ${DESTDIR}${BINDIR}/${VOLUME} ; \ - mkdir -p ${DESTDIR}${BINDIR}/${VOLUME} ; \ - chown root.wheel ${DESTDIR}${BINDIR}/${VOLUME} ; \ - chmod 755 ${DESTDIR}${BINDIR}/${VOLUME} ; \ - else \ - true ; \ - fi ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${DFILE} ${DESTDIR}${BINDIR}/${VOLUME} diff --git a/share/mk/bsd.info.mk b/share/mk/bsd.info.mk index a6b032461f8e..06809e986ba9 100644 --- a/share/mk/bsd.info.mk +++ b/share/mk/bsd.info.mk @@ -1,4 +1,4 @@ -# $Id: bsd.info.mk,v 1.17 1996/03/07 23:39:45 wosch Exp $ +# $Id: bsd.info.mk,v 1.18 1996/06/24 04:23:58 jkh Exp $ BINMODE= 444 BINDIR?= /usr/share/info @@ -53,14 +53,6 @@ clean: _SUBDIR rm -f ${INFO:S/$/.info*/g} Errs errs mklog ${CLEANFILES} install: _SUBDIR - @if [ ! -d "${DESTDIR}${BINDIR}" ]; then \ - /bin/rm -f ${DESTDIR}${BINDIR} ; \ - mkdir -p ${DESTDIR}${BINDIR} ; \ - chown root.wheel ${DESTDIR}${BINDIR} ; \ - chmod 755 ${DESTDIR}${BINDIR} ; \ - else \ - true ; \ - fi ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${IFILES} ${DESTDIR}${BINDIR}