Merge #92704: gcc: Improve manpage symlinks
This commit is contained in:
commit
5aca3498a6
1 changed files with 6 additions and 1 deletions
|
@ -287,7 +287,12 @@ postInstall() {
|
|||
done
|
||||
|
||||
# Two identical man pages are shipped (moving and compressing is done later)
|
||||
ln -sf gcc.1 "$out"/share/man/man1/g++.1
|
||||
for i in "$out"/share/man/man1/*g++.1; do
|
||||
if test -e "$i"; then
|
||||
man_prefix=`echo "$i" | sed "s,.*/\(.*\)g++.1,\1,"`
|
||||
ln -sf "$man_prefix"gcc.1 "$i"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
genericBuild
|
||||
|
|
Loading…
Reference in a new issue