diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |