Home | History | Annotate | Line # | Download | only in etc
Makefile revision 1.6
      1 #	@(#)Makefile	5.11 (Berkeley) 5/21/91
      2 
      3 NOOBJ=	oobj
      4 
      5 # disktab may be wrong -- hcx9 is a tahoe, but gets its own.
      6 # -rw-r--r--
      7 BIN1=	aliases csh.cshrc csh.login csh.logout daily dm.conf \
      8 	ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \
      9 	man.conf monthly motd myname netstart phones printcap protocols rc \
     10 	rc.local remote security services shells syslog.conf ttys weekly \
     11 	etc.${MACHINE}/disktab rpc
     12 
     13 # -rw-rw-rw-
     14 BIN2=	motd
     15 
     16 MTREE=	BSD.root.dist BSD.usr.dist BSD.var.dist
     17 NAMEDB=	localhost.rev named.boot root.cache
     18 PCS=	pcs750.bin
     19 WCS1=	wcs fppwcs poc poc1 poc2 fppoc
     20 WCS2=	fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
     21 
     22 all clean cleandir depend etc install lint:
     23 
     24 distribution:
     25 	install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
     26 	install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
     27 	install -c -o root -g wheel -m 600 crontab ${DESTDIR}/var/cron/tabs/root
     28 	install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
     29 	(cd ${DESTDIR}/etc; pwd_mkdb -p master.passwd)
     30 	install -c -o ${BINOWN} -g ${BINGRP} -m 555 \
     31 	     MAKEDEV.local etc.${MACHINE}/MAKEDEV ${DESTDIR}/dev
     32 	(cd root; \
     33 		install -c -o root -g wheel -m 644 dot.cshrc \
     34 		    ${DESTDIR}/root/.cshrc; \
     35 		install -c -o root -g wheel -m 644 dot.klogin \
     36 		    ${DESTDIR}/root/.klogin; \
     37 		install -c -o root -g wheel -m 644 dot.login \
     38 		    ${DESTDIR}/root/.login; \
     39 		install -c -o root -g wheel -m 644 dot.profile \
     40 		    ${DESTDIR}/root/.profile; \
     41 		rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
     42 		ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
     43 		ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
     44 	cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
     45 	    ${DESTDIR}/etc/mtree
     46 	cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
     47 	    ${DESTDIR}/etc/namedb
     48 	install -c -o ${BINOWN} -g operator -m 664 /dev/null \
     49 	    ${DESTDIR}/etc/dumpdates
     50 	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
     51 	    ${DESTDIR}/var/log/messages
     52 	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
     53 	    ${DESTDIR}/var/log/maillog
     54 	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
     55 	    ${DESTDIR}/var/log/lpd-errs
     56 	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
     57 	    ${DESTDIR}/var/run/utmp
     58 	(cd etc.${MACHINE}; install -c -o ${BINOWN} -g ${BINGRP} -m 444 \
     59 	    fstab.* ${DESTDIR}/etc)
     60 .if ${MACHINE} == "tahoe"
     61 	(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
     62 	    ${DESTDIR}/)
     63 .endif
     64 .if ${MACHINE} == "vax"
     65 	(cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
     66 	    ${DESTDIR}/)
     67 .endif
     68 
     69 hcx9-distribution:
     70 	(cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
     71 	    ${DESTDIR}/)
     72 
     73 .include <bsd.prog.mk>
     74