=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Makefile,v retrieving revision 1.158 retrieving revision 1.159 diff -c -r1.158 -r1.159 *** src/etc/Makefile 2002/05/11 18:41:19 1.158 --- src/etc/Makefile 2002/05/12 13:51:38 1.159 *************** *** 1,4 **** ! # $OpenBSD: Makefile,v 1.158 2002/05/11 18:41:19 millert Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific --- 1,4 ---- ! # $OpenBSD: Makefile,v 1.159 2002/05/12 13:51:38 espie Exp $ TZDIR= /usr/share/zoneinfo LOCALTIME= US/Pacific *************** *** 78,84 **** ${INSTALL} -c -o root -g wheel -m 644 moduli ${DESTDIR}/etc ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local 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 600 dot.klogin \ --- 78,84 ---- ${INSTALL} -c -o root -g wheel -m 644 moduli ${DESTDIR}/etc ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 555 \ MAKEDEV.local 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 600 dot.klogin \ *************** *** 89,96 **** ${DESTDIR}/root/.profile; \ rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ ! ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile) ! (cd skel; \ ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/etc/skel/.cshrc; \ ${INSTALL} -c -o root -g wheel -m 644 dot.login \ --- 89,96 ---- ${DESTDIR}/root/.profile; \ rm -f ${DESTDIR}/.cshrc ${DESTDIR}/.profile; \ ln ${DESTDIR}/root/.cshrc ${DESTDIR}/.cshrc; \ ! ln ${DESTDIR}/root/.profile ${DESTDIR}/.profile ! cd skel; \ ${INSTALL} -c -o root -g wheel -m 644 dot.cshrc \ ${DESTDIR}/etc/skel/.cshrc; \ ${INSTALL} -c -o root -g wheel -m 644 dot.login \ *************** *** 100,107 **** ${INSTALL} -c -o root -g wheel -m 644 dot.profile \ ${DESTDIR}/etc/skel/.profile; \ ${INSTALL} -c -o root -g wheel -m 600 dot.rhosts \ ! ${DESTDIR}/etc/skel/.rhosts) ! (cd kerberosIV; \ ${INSTALL} -c -o root -g wheel -m 644 README \ ${DESTDIR}/etc/kerberosIV; \ ${INSTALL} -c -o root -g wheel -m 644 krb.conf \ --- 100,107 ---- ${INSTALL} -c -o root -g wheel -m 644 dot.profile \ ${DESTDIR}/etc/skel/.profile; \ ${INSTALL} -c -o root -g wheel -m 600 dot.rhosts \ ! ${DESTDIR}/etc/skel/.rhosts ! cd kerberosIV; \ ${INSTALL} -c -o root -g wheel -m 644 README \ ${DESTDIR}/etc/kerberosIV; \ ${INSTALL} -c -o root -g wheel -m 644 krb.conf \ *************** *** 111,126 **** ${INSTALL} -c -o root -g wheel -m 644 krb.extra \ ${DESTDIR}/etc/kerberosIV; \ ${INSTALL} -c -o root -g wheel -m 644 krb.equiv \ ! ${DESTDIR}/etc/kerberosIV) ! (cd kerberosV; \ ${INSTALL} -c -o root -g wheel -m 644 README \ ${DESTDIR}/etc/kerberosV; \ ${INSTALL} -c -o root -g wheel -m 644 krb5.conf.example \ ! ${DESTDIR}/etc/kerberosV) ! (cd amd; \ ${INSTALL} -c -o root -g wheel -m 644 master.sample \ ! ${DESTDIR}/etc/amd) ! (cd mtree; \ ${INSTALL} -c -o root -g wheel -m 600 special \ ${DESTDIR}/etc/mtree; \ ${INSTALL} -c -o root -g wheel -m 444 4.4BSD.dist \ --- 111,126 ---- ${INSTALL} -c -o root -g wheel -m 644 krb.extra \ ${DESTDIR}/etc/kerberosIV; \ ${INSTALL} -c -o root -g wheel -m 644 krb.equiv \ ! ${DESTDIR}/etc/kerberosIV ! cd kerberosV; \ ${INSTALL} -c -o root -g wheel -m 644 README \ ${DESTDIR}/etc/kerberosV; \ ${INSTALL} -c -o root -g wheel -m 644 krb5.conf.example \ ! ${DESTDIR}/etc/kerberosV ! cd amd; \ ${INSTALL} -c -o root -g wheel -m 644 master.sample \ ! ${DESTDIR}/etc/amd ! cd mtree; \ ${INSTALL} -c -o root -g wheel -m 600 special \ ${DESTDIR}/etc/mtree; \ ${INSTALL} -c -o root -g wheel -m 444 4.4BSD.dist \ *************** *** 128,135 **** ${INSTALL} -c -o root -g wheel -m 444 BSD.local.dist \ ${DESTDIR}/etc/mtree; \ ${INSTALL} -c -o root -g wheel -m 444 BSD.x11.dist \ ! ${DESTDIR}/etc/mtree) ! (cd photuris; \ ${INSTALL} -c -o root -g wheel -m 600 secrets.conf \ ${DESTDIR}/etc/photuris; \ ${INSTALL} -c -o root -g wheel -m 600 attributes.conf \ --- 128,135 ---- ${INSTALL} -c -o root -g wheel -m 444 BSD.local.dist \ ${DESTDIR}/etc/mtree; \ ${INSTALL} -c -o root -g wheel -m 444 BSD.x11.dist \ ! ${DESTDIR}/etc/mtree ! cd photuris; \ ${INSTALL} -c -o root -g wheel -m 600 secrets.conf \ ${DESTDIR}/etc/photuris; \ ${INSTALL} -c -o root -g wheel -m 600 attributes.conf \ *************** *** 137,144 **** ${INSTALL} -c -o root -g wheel -m 600 photuris.conf \ ${DESTDIR}/etc/photuris; \ ${INSTALL} -c -o root -g wheel -m 600 photuris.startup \ ! ${DESTDIR}/etc/photuris) ! (cd ppp; \ ${INSTALL} -c -o root -g wheel -m 600 chap-secrets \ ${DESTDIR}/etc/ppp; \ ${INSTALL} -c -o root -g wheel -m 600 options \ --- 137,144 ---- ${INSTALL} -c -o root -g wheel -m 600 photuris.conf \ ${DESTDIR}/etc/photuris; \ ${INSTALL} -c -o root -g wheel -m 600 photuris.startup \ ! ${DESTDIR}/etc/photuris ! cd ppp; \ ${INSTALL} -c -o root -g wheel -m 600 chap-secrets \ ${DESTDIR}/etc/ppp; \ ${INSTALL} -c -o root -g wheel -m 600 options \ *************** *** 158,165 **** ${INSTALL} -c -o root -g wheel -m 644 ppp.linkdown.sample \ ${DESTDIR}/etc/ppp; \ ${INSTALL} -c -o root -g wheel -m 644 ppp.secret.sample \ ! ${DESTDIR}/etc/ppp) ! (cd afs; \ ${INSTALL} -c -o root -g wheel -m 644 afsd.conf \ ${DESTDIR}/etc/afs; \ ${INSTALL} -c -o root -g wheel -m 644 ThisCell \ --- 158,165 ---- ${INSTALL} -c -o root -g wheel -m 644 ppp.linkdown.sample \ ${DESTDIR}/etc/ppp; \ ${INSTALL} -c -o root -g wheel -m 644 ppp.secret.sample \ ! ${DESTDIR}/etc/ppp ! cd afs; \ ${INSTALL} -c -o root -g wheel -m 644 afsd.conf \ ${DESTDIR}/etc/afs; \ ${INSTALL} -c -o root -g wheel -m 644 ThisCell \ *************** *** 169,180 **** ${INSTALL} -c -o root -g wheel -m 644 SuidCells \ ${DESTDIR}/etc/afs; \ ${INSTALL} -c -o root -g wheel -m 644 README \ ! ${DESTDIR}/etc/afs) ! (cd namedb; \ ${INSTALL} -c -o root -g ${BINGRP} -m 644 named.boot \ ${DESTDIR}/var/named; \ ${INSTALL} -c -o named -g ${BINGRP} -m 644 ${NAMEDB} \ ! ${DESTDIR}/var/named/namedb) /bin/rm -f ${DESTDIR}/etc/localtime ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime /bin/rm -f ${DESTDIR}/etc/rmt --- 169,180 ---- ${INSTALL} -c -o root -g wheel -m 644 SuidCells \ ${DESTDIR}/etc/afs; \ ${INSTALL} -c -o root -g wheel -m 644 README \ ! ${DESTDIR}/etc/afs ! cd namedb; \ ${INSTALL} -c -o root -g ${BINGRP} -m 644 named.boot \ ${DESTDIR}/var/named; \ ${INSTALL} -c -o named -g ${BINGRP} -m 644 ${NAMEDB} \ ! ${DESTDIR}/var/named/namedb /bin/rm -f ${DESTDIR}/etc/localtime ln -s ${TZDIR}/${LOCALTIME} ${DESTDIR}/etc/localtime /bin/rm -f ${DESTDIR}/etc/rmt *************** *** 223,235 **** chgrp ${BINGRP} ${DESTDIR}/${PCS} && \ chmod 644 ${DESTDIR}/${PCS} .endif ! (cd ../gnu/usr.sbin/sendmail/cf/cf; ${MAKE} distribution) ! (cd ../usr.sbin/ypserv/ypinit; ${MAKE} distribution) ! (cd ../usr.bin/ssh; ${MAKE} distribution) ! (cd ../usr.sbin/httpd; ${MAKE} -f Makefile.bsd-wrapper distribution) ! (cd ../lib/libssl; ${MAKE} -f Makefile.bsd-wrapper distribution) ! (cd ../gnu/usr.bin/lynx; ${MAKE} -f Makefile.bsd-wrapper distribution) ! (cd ../usr.bin/mail; ${MAKE} distribution) ${INSTALL} -c -o root -g ${BINGRP} -m 644 aliases \ ${DESTDIR}/etc/mail/aliases /usr/libexec/sendmail/sendmail -C${DESTDIR}/etc/mail/sendmail.cf \ --- 223,235 ---- chgrp ${BINGRP} ${DESTDIR}/${PCS} && \ chmod 644 ${DESTDIR}/${PCS} .endif ! cd ../gnu/usr.sbin/sendmail/cf/cf && exec ${MAKE} distribution ! cd ../usr.sbin/ypserv/ypinit && exec ${MAKE} distribution ! cd ../usr.bin/ssh && exec ${MAKE} distribution ! cd ../usr.sbin/httpd && exec ${MAKE} -f Makefile.bsd-wrapper distribution ! cd ../lib/libssl && exec ${MAKE} -f Makefile.bsd-wrapper distribution ! cd ../gnu/usr.bin/lynx && exec ${MAKE} -f Makefile.bsd-wrapper distribution ! cd ../usr.bin/mail && exec ${MAKE} distribution ${INSTALL} -c -o root -g ${BINGRP} -m 644 aliases \ ${DESTDIR}/etc/mail/aliases /usr/libexec/sendmail/sendmail -C${DESTDIR}/etc/mail/sendmail.cf \ *************** *** 240,247 **** ${INSTALL} -c -o root -g wheel -m 440 ../usr.bin/sudo/sudoers \ ${DESTDIR}/etc/sudoers ! distribution: distribution-etc-root-var ! (cd ..; ${MAKE} install) distrib-dirs: if [ ! -d ${DESTDIR}/. ]; then \ --- 240,248 ---- ${INSTALL} -c -o root -g wheel -m 440 ../usr.bin/sudo/sudoers \ ${DESTDIR}/etc/sudoers ! distribution: ! exec ${SUDO} ${MAKE} distribution-etc-root-var ! cd .. && exec ${SUDO} ${MAKE} install distrib-dirs: if [ ! -d ${DESTDIR}/. ]; then \ *************** *** 259,266 **** @false .else release: distribution snap_pre snap_md ! cd ${.CURDIR}/../distrib/notes; ${MAKE}; ${MAKE} install ! cd ${.CURDIR}/../distrib/sets; sh maketars ${OSrev} -cp ${DESTDIR}/snapshot/bsd* ${RELEASEDIR} -cp ${DESTDIR}/snapshot/*boot* ${RELEASEDIR} -cp ${DESTDIR}/snapshot/*BOOT* ${RELEASEDIR} --- 260,267 ---- @false .else release: distribution snap_pre snap_md ! cd ${.CURDIR}/../distrib/notes && ${MAKE} && exec ${SUDO} ${MAKE} install ! cd ${.CURDIR}/../distrib/sets && exec ${SUDO} sh maketars ${OSrev} -cp ${DESTDIR}/snapshot/bsd* ${RELEASEDIR} -cp ${DESTDIR}/snapshot/*boot* ${RELEASEDIR} -cp ${DESTDIR}/snapshot/*BOOT* ${RELEASEDIR} *************** *** 285,292 **** cd ${DESTDIR}/snapshot && md5 * > MD5 snap_pre: ! /bin/rm -rf ${DESTDIR}/snapshot ! ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}/snapshot snap_tar: cd ${DESTDIR} && tar cf - bin \ --- 286,293 ---- cd ${DESTDIR}/snapshot && md5 * > MD5 snap_pre: ! ${SUDO} /bin/rm -rf ${DESTDIR}/snapshot ! ${SUDO} ${INSTALL} -d -o root -g wheel -m 755 ${DESTDIR}/snapshot snap_tar: cd ${DESTDIR} && tar cf - bin \ *************** *** 359,364 **** allarchs: MAKEDEV.sub MAKEDEV.mi cd ${.CURDIR}; for m in ${MAKEDEVARCHS}; do \ ! make M=$$m m4; done .include --- 360,367 ---- allarchs: MAKEDEV.sub MAKEDEV.mi cd ${.CURDIR}; for m in ${MAKEDEVARCHS}; do \ ! ${MAKE} M=$$m m4; done + .PHONY: distribution-etc-root-var distribution distrib-dirs \ + release snapshot allarchs snap_pre snap_tar snap_md m4 .include