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.4 retrieving revision 1.8 diff -u -p -r1.4 -r1.8 --- src/share/mk/bsd.prog.mk 1993/03/27 12:17:32 1.4 +++ src/share/mk/bsd.prog.mk 1993/04/08 17:18:46 1.8 @@ -32,7 +32,7 @@ LIBMP?= /usr/lib/libmp.a LIBPC?= /usr/lib/libpc.a LIBPLOT?= /usr/lib/libplot.a LIBRESOLV?= /usr/lib/libresolv.a -LIBRPC?= /usr/lib/sunrpc.a +LIBRPC?= /usr/lib/librpc.a LIBTERM?= /usr/lib/libterm.a LIBUTIL?= /usr/lib/libutil.a @@ -99,12 +99,11 @@ all: ${PROG} ${MANALL} _PROGSUBDIR .if !target(clean) clean: _PROGSUBDIR rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES} - rm -f .depend ${MANALL} .endif .if !target(cleandir) cleandir: _PROGSUBDIR - rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES} ${MANALL} + rm -f a.out [Ee]rrs mklog core ${PROG} ${OBJS} ${CLEANFILES} rm -f .depend ${MANALL} .endif @@ -120,6 +119,14 @@ depend: .depend _PROGSUBDIR .if !target(install) .if !target(beforeinstall) beforeinstall: + @if [ ! -d "${DESTDIR}${BINDIR}" ]; then \ + /bin/rm -f ${DESTDIR}${BINDIR} ; \ + mkdir -p ${DESTDIR}${BINDIR} ; \ + chown root.wheel ${DESTDIR}${BINDIR} ; \ + chmod 755 ${DESTDIR}${BINDIR} ; \ + else \ + true ; \ + fi .endif .if !target(afterinstall) afterinstall: