diff options
author | mtm <mtm@FreeBSD.org> | 2003-08-24 03:24:54 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-08-24 03:24:54 +0000 |
commit | 07a12aae6a522bfd3bcc1a1ed091691667053fe7 (patch) | |
tree | 94840d8da1216f4e461bf78dea1e0ce7476c834c /etc | |
parent | 3d5eea7bb5b8139fb5a9a9b660b2d244fc29c5d1 (diff) | |
download | FreeBSD-src-07a12aae6a522bfd3bcc1a1ed091691667053fe7.zip FreeBSD-src-07a12aae6a522bfd3bcc1a1ed091691667053fe7.tar.gz |
o Do not keep a separate list of src/etc/defaults files in
the src/etc makefile. This list was used to manually
install the files from src/etc. Instead, simply change
directory and 'make install'.
o There is no reason for the files in src/etc/defaults to
be installed as writeable.
Reviewed by: ru
Diffstat (limited to 'etc')
-rw-r--r-- | etc/Makefile | 9 | ||||
-rw-r--r-- | etc/defaults/Makefile | 2 |
2 files changed, 4 insertions, 7 deletions
diff --git a/etc/Makefile b/etc/Makefile index c4357a9..fb72fe4 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -32,8 +32,6 @@ SSL= ${.CURDIR}/../crypto/openssl/apps/openssl.cnf # -rwxr-xr-x root:wheel, for the new cron root:wheel BIN2= netstart pccard_ether rc.suspend rc.resume -DEFAULTS= rc.conf pccard.conf periodic.conf - MTREE= BSD.include.dist BSD.local.dist BSD.root.dist BSD.usr.dist \ BSD.var.dist BSD.x11.dist BSD.x11-4.dist .if !defined(NO_SENDMAIL) @@ -71,8 +69,7 @@ distribution: ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 600 \ master.passwd nsmb.conf opieaccess ${DESTDIR}/etc; \ pwd_mkdb -p -d ${DESTDIR}/etc ${DESTDIR}/etc/master.passwd - cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 644 \ - ${DEFAULTS} ${DESTDIR}/etc/defaults + cd ${.CURDIR}/defaults; ${MAKE} install cd ${.CURDIR}/periodic; ${MAKE} install cd ${.CURDIR}/rc.d; ${MAKE} install cd ${.CURDIR}/../gnu/usr.bin/send-pr; ${MAKE} etc-gnats-freefall @@ -197,7 +194,7 @@ etc-examples: cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ ${BIN1} ${BIN2} nsmb.conf opieaccess \ ${DESTDIR}/usr/share/examples/etc - cd ${.CURDIR}/defaults; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \ - ${DEFAULTS} ${DESTDIR}/usr/share/examples/etc/defaults + cd ${.CURDIR}/defaults; ${MAKE} install \ + DESTDIR=${DESTDIR}/usr/share/examples .include <bsd.prog.mk> diff --git a/etc/defaults/Makefile b/etc/defaults/Makefile index 56e74ff..9e10092 100644 --- a/etc/defaults/Makefile +++ b/etc/defaults/Makefile @@ -3,6 +3,6 @@ FILES= devfs.rules pccard.conf periodic.conf rc.conf NOOBJ= noobj FILESDIR= /etc/defaults -FILESMODE= 644 +FILESMODE= 444 .include <bsd.prog.mk> |