Merge #92704: gcc: Improve manpage symlinks
This commit is contained in:
@@ -287,7 +287,12 @@ postInstall() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Two identical man pages are shipped (moving and compressing is done later)
|
# 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
|
genericBuild
|
||||||
|
|||||||
Reference in New Issue
Block a user