head	1.7;
access;
symbols;
locks; strict;
comment	@# @;


1.7
date	94.06.16.19.32.47;	author roger;	state Exp;
branches;
next	1.6;

1.6
date	94.06.02.19.34.19;	author md;	state Exp;
branches;
next	1.5;

1.5
date	94.05.22.12.12.51;	author roger;	state Exp;
branches;
next	1.4;

1.4
date	94.03.30.11.46.10;	author roger;	state Exp;
branches;
next	1.3;

1.3
date	94.02.07.19.28.02;	author md;	state Exp;
branches;
next	1.2;

1.2
date	92.12.12.09.36.44;	author md;	state Exp;
branches;
next	1.1;

1.1
date	90.07.05.07.47.32;	author md;	state Exp;
branches;
next	;


desc
@@


1.7
log
@'44 passwd related changes.
@
text
@#	@@(#)Makefile	5.9 (Berkeley) 7/1/90

NOOBJ=	oobj

# disktab may be wrong -- hcx9 is a tahoe, but gets its own.
# -rw-r--r--
BIN1=	aliases amd-home amd-n changelist csh.cshrc csh.login csh.logout \
	crontab crontab.local daily dm.conf exports ftpusers \
	gettytab group hosts hosts.equiv hosts.lpd inetd.conf man.conf \
	monthly motd netstart phones printcap protocols rc \
	rc.local remote security services shells syslog.conf ttys weekly \
	etc.${MACHINE}/disktab

# -rw-rw-rw-
BIN2=	motd

MTREE=	4.4BSD.root 4.4BSD.usr 4.4BSD.var 4.4BSD.dist special
KRB=	README krb.conf krb.realms
NAMEDB=	localhost.rev named.boot root.cache
PCS=	pcs750.bin
WCS1=	wcs fppwcs poc poc1 poc2 fppoc
WCS2=	fpevent fppwcs fppwcs_dual hdcwcs load_diags start_fpp wcs wcs_dual
WCS3=	fstab ttys gettytab netstart

all clean cleandir depend etc install lint:

distribution:
	install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${BIN1} ${DESTDIR}/etc
	install -c -o ${BINOWN} -g ${BINGRP} -m 666 ${BIN2} ${DESTDIR}/etc
	install -c -o root -g wheel -m 600 master.passwd ${DESTDIR}/etc
	pwd_mkdb -r "${DESTDIR}" -p ${DESTDIR}/etc/master.passwd
	install -c -o ${BINOWN} -g ${BINGRP} -m 555 etc.${MACHINE}/MAKEDEV \
	    ${DESTDIR}/dev
	(cd root; \
		install -c -o root -g wheel -m 644 dot.cshrc \
		    ${DESTDIR}/root/.cshrc; \
		install -c -o root -g wheel -m 644 dot.klogin \
		    ${DESTDIR}/root/.klogin; \
		install -c -o root -g wheel -m 644 dot.login \
		    ${DESTDIR}/root/.login; \
		install -c -o root -g wheel -m 644 dot.profile \
		    ${DESTDIR}/root/.profile; \
		rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \
		ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \
		ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile)
	cd mtree; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${MTREE} \
	    ${DESTDIR}/etc/mtree
	cd namedb; install -c -o ${BINOWN} -g ${BINGRP} -m 644 ${NAMEDB} \
	    ${DESTDIR}/etc/namedb
	rm -f ${DESTDIR}/etc/named.boot
	ln -s /etc/namedb/named.boot  ${DESTDIR}/etc/named.boot
	cd kerberosIV; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${KRB} \
	    ${DESTDIR}/etc/kerberosIV
	install -c -o ${BINOWN} -g operator -m 664 /dev/null \
	    ${DESTDIR}/etc/dumpdates
	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/etc/exports
	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/log/messages
	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/log/maillog
	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/log/lpd-errs
	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/log/wtmp
	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/run/utmp
	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/account/acct
	install -c -o ${BINOWN} -g ${BINGRP} -m 664 /dev/null \
	    ${DESTDIR}/var/spool/uucp/ERRORS
.if ${MACHINE} == "tahoe"
	cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS1} \
	    ${DESTDIR}/
.endif
.if ${MACHINE} == "vax"
	cd etc.vax; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${PCS} \
	    ${DESTDIR}/
.endif
.if ${MACHINE} == "rt"
	cd etc.rt; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS3} \
	    ${DESTDIR}/etc
.endif
	# There are certain symbolic links we have to have, and
	# no other place to have install them.
	(cd ${DESTDIR}/ && rm -f sys && ln -s usr/src/sys sys)
	(cd ${DESTDIR}/etc && rm -f rmt && ln -s /usr/sbin/rmt rmt)
	(cd ${DESTDIR}/etc && rm -f termcap && ln -s /usr/share/misc/termcap termcap)
	(cd ${DESTDIR}/usr && rm -f X11 && ln -s X11R5 X11)
	(cd ${DESTDIR}/usr/bin && rm -f X11 && ln -s /usr/X11/bin X11)
	(cd ${DESTDIR}/usr/lib && rm -f X11 && ln -s /usr/X11/lib X11)
	(cd ${DESTDIR}/usr/include && rm -f X11 && ln -s /usr/X11/include X11)
	(cd ${DESTDIR}/usr/lib && rm -f tmac && ln -s /usr/share/tmac tmac)
	(cd ${DESTDIR}/usr/ucb && rm -f rdist && ln -s /usr/bin/rdist rdist)


hcx9-distribution:
	cd etc.tahoe; install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${WCS2} \
	    ${DESTDIR}/

.include <bsd.prog.mk>
@


1.6
log
@Add changelist to list of files to install.
@
text
@d7 1
a7 1
BIN1=	aliases amd-home amd-n chnagelist csh.cshrc csh.login csh.logout \
d31 1
a31 5
	(cd ${DESTDIR}/etc; \
	    mkpasswd -p master.passwd; \
	    mv master.passwd.pag passwd.pag; \
	    mv master.passwd.dir passwd.dir; \
	    mv master.passwd.orig passwd)
d84 12
@


1.5
log
@44 related changes.
@
text
@d7 1
a7 1
BIN1=	aliases amd-home amd-n csh.cshrc csh.login csh.logout \
@


1.4
log
@Install the '44 mtree files instead of the RENO ones.
@
text
@d7 4
a10 3
BIN1=	aliases csh.cshrc csh.login csh.logout crontab daily dm.conf \
	ftpusers gettytab group hosts hosts.equiv hosts.lpd inetd.conf \
	man.conf monthly motd netstart phones printcap protocols rc \
@


1.3
log
@Force removal of named.boot before trying to install a new one.
@
text
@d16 1
a16 1
MTREE=	BSD.root.dist BSD.usr.dist BSD.var.dist
@


1.2
log
@add rt specific processing
@
text
@d53 1
a53 1
	rm ${DESTDIR}/etc/named.boot
@


1.1
log
@Initial revision
@
text
@d22 1
d53 2
d60 2
d68 2
d71 4
d82 4
@
