From 07a12aae6a522bfd3bcc1a1ed091691667053fe7 Mon Sep 17 00:00:00 2001 From: mtm Date: Sun, 24 Aug 2003 03:24:54 +0000 Subject: 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 --- etc/Makefile | 9 +++------ etc/defaults/Makefile | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'etc') 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 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 -- cgit v1.1