summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/Makefile.bsd-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/binutils/Makefile.bsd-wrapper13
1 files changed, 10 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/Makefile.bsd-wrapper b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
index f24f97643bd..c791fc8b5f1 100644
--- a/gnu/usr.bin/binutils/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/binutils/Makefile.bsd-wrapper
@@ -1,14 +1,20 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.37 2000/09/14 13:15:39 espie Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.38 2000/09/14 16:48:09 espie Exp $
NEW_BINUTILS=alpha mips powerpc hppa
-PREFIX=/usr
SUBDIRS= opcodes bfd
ALL_X11_MODULES=
INSTALL_X11_MODULES=
-MANDIR=${PREFIX}/man/cat
+
+# This allows moving the whole binutils installation around for
+# testing purposes
+PREFIX=/usr
+.if ${PREFIX} != "/usr"
+MANDIR=${PREFIX}/share/man/cat
+.endif
+
MAN=
.if ${MACHINE_ARCH} != "unknown"
@@ -68,6 +74,7 @@ config.status: do-config
install: maninstall
SUBDIRS='${SUBDIRS}' ${MAKE} DESTDIR='${DESTDIR}' INSTALL_MAN= \
INSTALL_X11_MODULES="${INSTALL_X11_MODULES}" \
+ INSTALL_MAN= \
INSTALL_MODULES='${INSTALL_MODULES}' install install-info
cd ${.OBJDIR}/binutils && \
${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP} -o ${BINOWN} -g ${BINGRP} \