-# $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 \
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