Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/mk/bsd.prog.mk,v rcsdiff: /ftp/cvs/cvsroot/src/share/mk/bsd.prog.mk,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.11 retrieving revision 1.12 diff -u -p -r1.11 -r1.12 --- src/share/mk/bsd.prog.mk 1993/04/25 04:55:52 1.11 +++ src/share/mk/bsd.prog.mk 1993/04/25 05:36:13 1.12 @@ -121,6 +121,7 @@ depend: .depend _PROGSUBDIR .if !target(install) .if !target(beforeinstall) beforeinstall: +.if defined(DESTDIR) || defined(BINDIR) @if [ ! -d "${DESTDIR}${BINDIR}" ]; then \ /bin/rm -f ${DESTDIR}${BINDIR} ; \ mkdir -p ${DESTDIR}${BINDIR} ; \ @@ -130,6 +131,7 @@ beforeinstall: true ; \ fi .endif +.endif .if !target(afterinstall) afterinstall: .endif