strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk.

This commit is contained in:
Ruslan Ermilov 2004-02-05 19:54:56 +00:00
parent 86751859b5
commit 1154360eaa

View File

@ -17,16 +17,14 @@ CLEANFILES+= maybe_stripped
all: maybe_stripped
maybe_stripped: strip
cp strip maybe_stripped
.if defined(STRIP)
.if ${STRIP:M-s} != ""
-strip maybe_stripped
.endif
.endif
realinstall:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
maybe_stripped ${DESTDIR}${BINDIR}/strip
.include <bsd.prog.mk>
maybe_stripped: strip
cp strip maybe_stripped
.if defined(STRIP) && !empty(STRIP:M-s)
-strip maybe_stripped
.endif