summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-24 15:14:02 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-24 15:14:02 +0000
commit0c3a80cde1c923303deace712de69eb0fd5b2db0 (patch)
tree48e993692d231f455462c14caae52c7b46c97cea /gnu/usr.bin/texinfo/Makefile.bsd-wrapper
parent615ab00413276480f42f87a9947841221905d6af (diff)
respect "INSTALL_STRIP= -s" pr 188
Diffstat (limited to 'gnu/usr.bin/texinfo/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/texinfo/Makefile.bsd-wrapper12
1 files changed, 10 insertions, 2 deletions
diff --git a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
index 8b01f2c820d..bd71b189bb1 100644
--- a/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/texinfo/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $Id: Makefile.bsd-wrapper,v 1.11 1997/06/23 23:19:47 kstailey Exp $
+# $Id: Makefile.bsd-wrapper,v 1.12 1997/07/24 15:14:01 kstailey Exp $
INFODIR= infodir=${DESTDIR}/usr/share/info
INFOPATH= DEFAULT_INFOPATH=/usr/local/info:/usr/share/info:.
@@ -9,6 +9,14 @@ SUBDIRS= libtxi makeinfo info util
GNUCFLAGS= CFLAGS="$(CFLAGS)"
FSFMAKE= ${MAKE} SUBDIRS="$(SUBDIRS)" $(GNUCFLAGS) $(INFODIR) $(INFOPATH)
+.include <bsd.own.mk>
+
+.if (${INSTALL_STRIP} == "-s")
+INST_PROG='/usr/bin/install -cs'
+.else
+INST_PROG='/usr/bin/install -c'
+.endif
+
all: config.status
${FSFMAKE} LDFLAGS=${LDSTATIC}
@@ -19,7 +27,7 @@ config: .FORCE
/bin/sh ${.CURDIR}/configure --prefix=/usr
config.status:
- /bin/sh ${.CURDIR}/configure --prefix=/usr
+ INSTALL_PROGRAM=$(INST_PROG) /bin/sh ${.CURDIR}/configure --prefix=/usr
.ifdef NOMAN
maninstall: