summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild7
1 files changed, 7 insertions, 0 deletions
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.