initial version by sklower
[unix-history] / usr / src / etc / Makefile
CommitLineData
74c3b0ba 1# @(#)Makefile 5.7 (Berkeley) %G%
77f73222
KB
2
3NOOBJ= oobj
c4500850 4
812add4f 5# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
c4500850 6# -rw-r--r--
18fc0c30
KB
7BIN1= aliases csh.cshrc csh.login csh.logout crontab daily dm.conf \
8 ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \
9 man.conf monthly motd netstart phones printcap protocols rc \
812add4f
KB
10 rc.local remote security services shells syslog.conf ttys weekly \
11 etc.${MACHINE}/disktab
c4500850
KB
12
13# -rw-rw-rw-
14BIN2= motd
15
18fc0c30 16DOT= dot.cshrc dot.login dot.profile
77f73222 17MTREE= BSD.root.dist BSD.usr.dist BSD.var.dist
18fc0c30 18KRB= README krb.conf krb.realms
74c3b0ba 19NAMEDB= localhost.rev named.boot root.cache
c4500850
KB
20
21all clean cleandir depend etc install lint:
22
23distribution:
24 install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
25 install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
18fc0c30
KB
26 install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
27 (cd ${DESTDIR}/etc; \
28 mkpasswd -p master.passwd; \
29 mv master.passwd.pag passwd.pag; \
30 mv master.passwd.dir passwd.dir; \
31 mv master.passwd.orig passwd)
c4500850
KB
32 install -c -o ${BINOWN} -g ${BINGRP} -m 555 etc.${MACHINE}/MAKEDEV \
33 ${DESTDIR}/dev
18fc0c30 34 cd root; install -c -o root -g wheel -m 644 ${DOT} ${DESTDIR}/root
77f73222
KB
35 cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
36 ${DESTDIR}/etc/mtree
74c3b0ba
KB
37 cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
38 ${DESTDIR}/etc/namedb
18fc0c30
KB
39 cd kerberosIV; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${KRB} \
40 ${DESTDIR}/etc/kerberosIV
f4fe22ce
KB
41 install -c -o ${BINOWN} -g operator -m 664 /dev/null \
42 ${DESTDIR}/etc/dumpdates
c4500850
KB
43 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
44 ${DESTDIR}/var/log/messages
45 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
46 ${DESTDIR}/var/log/maillog
47 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
48 ${DESTDIR}/var/log/lpd-errs
49 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
50 ${DESTDIR}/var/run/utmp
c4500850 51
c4500850 52.include <bsd.prog.mk>