GRRR....
authorpefo <pefo@openbsd.org>
Fri, 6 Sep 1996 19:20:17 +0000 (19:20 +0000)
committerpefo <pefo@openbsd.org>
Fri, 6 Sep 1996 19:20:17 +0000 (19:20 +0000)
gnu/usr.bin/binutils/Makefile.bsd-wrapper

index 45dec02..e0455fe 100644 (file)
@@ -1,4 +1,4 @@
-#      $Id: Makefile.bsd-wrapper,v 1.3 1996/09/06 19:10:22 pefo Exp $
+#      $Id: Makefile.bsd-wrapper,v 1.4 1996/09/06 19:20:17 pefo Exp $
 
 MAN=   binutils/ar.1 binutils/nlmconv.1 binutils/nm.1 binutils/objcopy.1 \
        binutils/objdump.1 binutils/ranlib.1 binutils/size.1 \
@@ -22,8 +22,13 @@ config.status:
        sh ${.CURDIR}/configure --prefix=/usr
 
 install: maninstall
+.if   (${MACHINE_ARCH} == "mips") || make(clean) || make(cleandir)
+       ${MAKE} prefix=${DESTDIR}/usr infodir=${DESTDIR}/usr/share/info \
+               bindir=${DESTDIR}/usr/bin INSTALL_MAN= install
+.else
        ${MAKE} prefix=${DESTDIR}/usr infodir=${DESTDIR}/usr/share/info \
                bindir=${DESTDIR}/usr/bin INSTALL_MAN= install-gas
+.endif
 
 clean cleandir:
        -@if [ -e Makefile ]; then ${MAKE} realclean; fi