=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/Makefile,v retrieving revision 1.41 retrieving revision 1.45 diff -u -r1.41 -r1.45 --- src/Makefile 1998/09/30 13:27:28 1.41 +++ src/Makefile 1999/01/24 16:08:37 1.45 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.41 1998/09/30 13:27:28 art Exp $ +# $OpenBSD: Makefile,v 1.45 1999/01/24 16:08:37 art Exp $ # # For more information on building in tricky environments, please see @@ -61,7 +61,7 @@ beforeinstall: .ifndef DESTDIR - (cd ${.CURDIR}/etc && ${MAKE} DESTDIR=/ distrib-dirs) + (cd ${.CURDIR}/etc && ${MAKE} DESTDIR= distrib-dirs) .else (cd ${.CURDIR}/etc && ${MAKE} distrib-dirs) .endif @@ -78,7 +78,7 @@ .endif (cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install) (cd ${.CURDIR}/include; ${SUDO} ${MAKE} includes) - ${MAKE} cleandir + ${SUDO} ${MAKE} cleandir (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ ${SUDO} ${MAKE} install) (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ @@ -87,7 +87,7 @@ ldconfig .endif .if (${KERBEROS} == "yes") - (cd ${.CURDIR}/kerberosIV && ${MAKE} build) + (cd ${.CURDIR}/kerberosIV && ${MAKE} SUDO=${SUDO} build) .endif .if (${MACHINE_ARCH} == "mips") ldconfig