summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/Makefile.bsd-wrapper
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-24 21:12:16 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-24 21:12:16 +0000
commit0de12a66a36dcbdd9340bc586acf3de1a3a76013 (patch)
treefa42c838ab97e53c7849369043124c3cc3cf3ce4 /gnu/usr.bin/perl/Makefile.bsd-wrapper
parentf8beadbe4e325f8178acbe9b2240bb6113f7ce0f (diff)
respect ``INSTALL_STRIP=-s'' pr 188
Diffstat (limited to 'gnu/usr.bin/perl/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/perl/Makefile.bsd-wrapper13
1 files changed, 11 insertions, 2 deletions
diff --git a/gnu/usr.bin/perl/Makefile.bsd-wrapper b/gnu/usr.bin/perl/Makefile.bsd-wrapper
index 4627f8ac0b7..689807ed3cd 100644
--- a/gnu/usr.bin/perl/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/perl/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.11 1997/06/23 22:41:28 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.12 1997/07/24 21:12:14 kstailey Exp $
#
# Build wrapper for Perl 5.003.
#
@@ -21,6 +21,8 @@ MAN= x2p/a2p.man x2p/s2p.man pod/perl.man pod/perlbook.man \
pod/perltie.man pod/perltoc.man pod/perltrap.man \
pod/perlvar.man pod/perlxs.man pod/perlxstut.man
+.include <bsd.own.mk>
+
.ifndef NOMAN
MANALL= ${MAN:S/.man$/.cat1/g}
.else
@@ -29,6 +31,12 @@ MANALL=
MANLOCALBUILD= yes
+.if defined (INSTALL_STRIP) && ${INSTALL_STRIP} == "-s"
+INST_PROG='/usr/bin/install -cs'
+.else
+INST_PROG='/usr/bin/install -c'
+.endif
+
.SUFFIXES: .man .cat1
.man.cat1:
@@ -86,7 +94,8 @@ maninstall:
.endif
install: ${MANALL} maninstall
- (cd ${.OBJDIR}; ${MAKE} install)
+ (cd ${.OBJDIR}; INSTALL=${INSTALL} INSTALL_COPY=${INSTALL_COPY} \
+ INSTALL_STRIP=${INSTALL_STRIP} ${MAKE} install)
(cd ${DESTDIR}/usr/include; ${H2PH} *.h arpa/*.h machine/*.h net/*.h \
protocols/*.h sys/*.h)
-chmod -R a+rX ${DESTDIR}/usr/lib/perl5