3fbfb0f281
at install time. This will allow `install -C' to avoid replacing the installed copy if the new copy is the same. `install -C' would actually work right if `strip' is already installed, but the Makefile doesn't know that and has to work for plain `install'. Stripping should be done by default at link time, but complications would still be required for installing `strip' in case the default is overridden.
19 lines
343 B
Makefile
19 lines
343 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
PROG= strip
|
|
MAN1= strip.1
|
|
|
|
all: maybe_stripped
|
|
|
|
maybe_stripped: strip
|
|
cp -p strip maybe_stripped
|
|
.if ${STRIP:M-s} != ""
|
|
./strip maybe_stripped
|
|
.endif
|
|
|
|
install: maninstall
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
|
maybe_stripped ${DESTDIR}${BINDIR}/strip
|
|
|
|
.include <bsd.prog.mk>
|