From e3fda8c936e29fe52d114f2e1c27dce857ea7b26 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 22 Sep 2011 22:21:14 +0000 Subject: Always install all manuals on all architectures. No more exceptions even for binutils. No more share/man in src/distrib/sets/lists/*/md.* ok deraadt@ --- gnu/usr.bin/Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'gnu/usr.bin/Makefile') diff --git a/gnu/usr.bin/Makefile b/gnu/usr.bin/Makefile index 155cb05d279..0396760635f 100644 --- a/gnu/usr.bin/Makefile +++ b/gnu/usr.bin/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.48 2011/07/05 00:15:03 drahn Exp $ +# $OpenBSD: Makefile,v 1.49 2011/09/22 22:21:13 schwarze Exp $ # $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $ .include @@ -30,4 +30,18 @@ SUBDIR+= gas ld # Do these last; texinfo builds the info 'dir' file, perl must be after binutils SUBDIR+= perl texinfo +.if ${COMPILER_VERSION:L} == "gcc4" +maninstall: + ${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \ + gcc/protoize.1 ${DESTDIR}${MANDIR}1/protoize.1 + @rm -f ${DESTDIR}${MANDIR}1/unprotoize.1 + ln ${DESTDIR}${MANDIR}1/protoize.1 ${DESTDIR}${MANDIR}1/unprotoize.1 +.elif ${ELF_TOOLCHAIN:L} == "yes" +maninstall: +.for cmd in addr2line objcopy readelf + ${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \ + binutils/binutils/doc/${cmd}.1 ${DESTDIR}${MANDIR}1/${cmd}.1 +.endfor +.endif + .include -- cgit v1.2.3