new licensing info from erics (from tahoe), add/correct summary
[unix-history] / usr / src / etc / Makefile
CommitLineData
d05906a8 1# @(#)Makefile 5.8 (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
77f73222 16MTREE= BSD.root.dist BSD.usr.dist BSD.var.dist
18fc0c30 17KRB= README krb.conf krb.realms
74c3b0ba 18NAMEDB= localhost.rev named.boot root.cache
c4500850
KB
19
20all clean cleandir depend etc install lint:
21
22distribution:
23 install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
24 install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
18fc0c30
KB
25 install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
26 (cd ${DESTDIR}/etc; \
27 mkpasswd -p master.passwd; \
28 mv master.passwd.pag passwd.pag; \
29 mv master.passwd.dir passwd.dir; \
30 mv master.passwd.orig passwd)
c4500850
KB
31 install -c -o ${BINOWN} -g ${BINGRP} -m 555 etc.${MACHINE}/MAKEDEV \
32 ${DESTDIR}/dev
d05906a8
KB
33 (cd root; \
34 install -c -o root -g wheel -m 644 dot.cshrc \
35 ${DESTDIR}/root/.cshrc; \
36 install -c -o root -g wheel -m 644 dot.klogin \
37 ${DESTDIR}/root/.klogin; \
38 install -c -o root -g wheel -m 644 dot.login \
39 ${DESTDIR}/root/.login; \
40 install -c -o root -g wheel -m 644 dot.profile \
41 ${DESTDIR}/root/.profile; \
42 rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
43 ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
44 ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
77f73222
KB
45 cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
46 ${DESTDIR}/etc/mtree
74c3b0ba
KB
47 cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
48 ${DESTDIR}/etc/namedb
18fc0c30
KB
49 cd kerberosIV; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${KRB} \
50 ${DESTDIR}/etc/kerberosIV
f4fe22ce
KB
51 install -c -o ${BINOWN} -g operator -m 664 /dev/null \
52 ${DESTDIR}/etc/dumpdates
c4500850
KB
53 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
54 ${DESTDIR}/var/log/messages
55 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
56 ${DESTDIR}/var/log/maillog
57 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
58 ${DESTDIR}/var/log/lpd-errs
59 install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
60 ${DESTDIR}/var/run/utmp
c4500850 61
c4500850 62.include <bsd.prog.mk>