=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/Makefile,v retrieving revision 1.42 retrieving revision 1.43 diff -c -r1.42 -r1.43 *** src/Makefile 1998/10/30 18:39:52 1.42 --- src/Makefile 1999/01/07 04:57:13 1.43 *************** *** 1,4 **** ! # $OpenBSD: Makefile,v 1.42 1998/10/30 18:39:52 millert Exp $ # # For more information on building in tricky environments, please see --- 1,4 ---- ! # $OpenBSD: Makefile,v 1.43 1999/01/07 04:57:13 millert Exp $ # # For more information on building in tricky environments, please see *************** *** 58,63 **** --- 58,68 ---- includes: (cd ${.CURDIR}/include; ${MAKE} includes) + .ifndef DESTDIR + rdist -cR /usr/include localhost:/usr/include.real + .else + rdist -cR ${DESTDIR}usr/include localhost:${DESTDIR}usr/include.real + .endif beforeinstall: .ifndef DESTDIR *************** *** 78,84 **** .endif (cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install) (cd ${.CURDIR}/include; ${SUDO} ${MAKE} includes) ! ${MAKE} cleandir (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ ${SUDO} ${MAKE} install) (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \ --- 83,89 ---- .endif (cd ${.CURDIR}/share/mk && ${SUDO} ${MAKE} install) (cd ${.CURDIR}/include; ${SUDO} ${MAKE} includes) ! ${SUDO} ${MAKE} cleandir (cd ${.CURDIR}/lib && ${MAKE} depend && ${MAKE} && \ ${SUDO} ${MAKE} install) (cd ${.CURDIR}/gnu/lib && ${MAKE} depend && ${MAKE} && \