diff options
Diffstat (limited to 'core/binutils/build')
-rwxr-xr-x | core/binutils/build | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/core/binutils/build b/core/binutils/build index 67a1af16..5b3140f0 100755 --- a/core/binutils/build +++ b/core/binutils/build @@ -9,13 +9,15 @@ case ${3:-$(uname -m)} in --host=x86_64-pc-linux-musl" esac -cat > makeinfo <<EOF +cpt l -q texinfo || { + cat > makeinfo <<EOF #!/bin/sh printf 'makeinfo (GNU texinfo) 5.2\n' EOF -chmod +x makeinfo -export PATH=$PATH:$PWD + chmod +x makeinfo + export PATH=$PATH:$PWD +} # Word splitting is intentional here. # shellcheck disable=2086 @@ -34,3 +36,7 @@ export PATH=$PATH:$PWD make make DESTDIR="$1" install + +# Manual pages are empty for some reason in binutils-2.37, so +# we are installing the manual pages from 2.36.1 +clman -d "$1" man/*.1 |