summaryrefslogtreecommitdiff
path: root/usr.bin/xinstall
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-08 10:37:11 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2011-11-08 10:37:11 +0000
commitced6d20e5a6c906aef393a8dac9c78ac6eaefd53 (patch)
tree776611376ba9548fefaafaee9b578abf325eee32 /usr.bin/xinstall
parent86c9c861ab97a2ad110f2b21f856fa5422f22c3e (diff)
Pass install the -S option to avoid a window where the target isn't
executable (by mode or content), which can trip up builds with 'make -j' (The generic fix is in share/mk/*; some Makefiles have their own INSTALL lines) ok millert@ deraadt@
Diffstat (limited to 'usr.bin/xinstall')
-rw-r--r--usr.bin/xinstall/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/xinstall/Makefile b/usr.bin/xinstall/Makefile
index 80994830a8b..33160b66e2e 100644
--- a/usr.bin/xinstall/Makefile
+++ b/usr.bin/xinstall/Makefile
@@ -1,11 +1,12 @@
-# $OpenBSD: Makefile,v 1.6 2000/07/19 19:29:16 mickey Exp $
+# $OpenBSD: Makefile,v 1.7 2011/11/08 10:37:10 guenther Exp $
PROG= xinstall
SRCS= xinstall.c
MAN= install.1
realinstall:
- ${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \
+ ${INSTALL} ${INSTALL_COPY} -S ${INSTALL_STRIP} \
+ -o ${BINOWN} -g ${BINGRP} \
-m ${BINMODE} ${PROG} ${DESTDIR}${BINDIR}/install
.include <bsd.prog.mk>