summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-30 13:26:13 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-30 13:26:13 +0000
commit861f0349252896614161c4d1f2b11dddeb51d2d0 (patch)
tree986b0605456a9e5f77aada4374e7339aadefeed4 /gnu/usr.bin
parent29263e651adfbf32c9bad6fe1d6ff41d6d3d96a8 (diff)
respect INSTALL_STRIP=-s on alpha (only one binary is unstripped now)
add GLOBAL_AUTCONF_CACHE (it's in my whole tree, yours soon too)
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/rcs/Makefile.bsd-wrapper18
1 files changed, 17 insertions, 1 deletions
diff --git a/gnu/usr.bin/rcs/Makefile.bsd-wrapper b/gnu/usr.bin/rcs/Makefile.bsd-wrapper
index 45f6d777f11..0370d28b5e8 100644
--- a/gnu/usr.bin/rcs/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/rcs/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.11 1997/06/23 22:20:27 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.12 1997/07/30 13:26:12 kstailey Exp $
MAN= man/ci.1 man/co.1 man/ident.1 man/merge.1 man/rcs.1 man/rcsclean.1 \
man/rcsdiff.1 man/rcsfile.5 man/rcsfreeze.1 man/rcsintro.1 \
@@ -12,12 +12,28 @@ all: config.status rcsfile.5
.FORCE: .IGNORE
+.include <bsd.own.mk>
+
+.ifdef GLOBAL_AUTOCONF_CACHE
+config: .FORCE
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ sh ${.CURDIR}/configure --with-diffutils --prefix=/usr \
+ --cache-file=${GLOBAL_AUTOCONF_CACHE}
+
+config.status:
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ sh ${.CURDIR}/configure --with-diffutils --prefix=/usr \
+ --cache-file=${GLOBAL_AUTOCONF_CACHE}
+.else
config: .FORCE
-rm -f config.cache
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
sh ${.CURDIR}/configure --with-diffutils --prefix=/usr
config.status:
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
sh ${.CURDIR}/configure --with-diffutils --prefix=/usr
+.endif
rcsfile.5:
(cd man ; ${MAKE} ${GNUCFLAGS} rcsfile.5)