From 92a8fa4fbe9c0f3f115b2a08fd0dd2094f3c1d65 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 11 Nov 2012 15:27:56 -0500 Subject: Fix handling of man and info files. * Remove them from all binutils- packages, not just one of the packages. * Give man files target-independent names. --- diff --git a/build b/build index aada73c..3f2cf43 100755 --- a/build +++ b/build @@ -112,6 +112,13 @@ install: build if [ ! -d 'binutils-doc.data/usr/share' ]; then \ mv "binutils-$${target}.data/usr/share" 'binutils-doc.data/usr' || \ exit 1; \ + for file in 'binutils-doc.data/usr/share/man/man1/'*; do \ + mv "$${file}" "$${file%/*}/$${file##*/$${target}-}" || \ + exit 1; \ + done; \ + else \ + rm -Rf "binutils-$${target}.data/usr/share" || \ + exit 1; \ fi; \ done # Move BFD development files into libbfd-dev-* data directory. -- cgit v0.9.1