use soft links for related man pages.

This matches the behavior of OpenSSL's installer and prevents
hitting the max hard link limit on some file systems.
This commit is contained in:
Brent Cook 2015-04-26 23:01:26 -05:00
parent 7dbc4ed363
commit b0565945e4

View File

@ -263,8 +263,7 @@ echo "copying manpages"
for i in `cat ./links`; do
IFS=","; set $i; unset IFS
if [ "$2" != "" ]; then
echo " ln -f \$(DESTDIR)\$(mandir)/man3/$1 \\" >> Makefile.am
echo " \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
echo " ln -sf $1 \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am
fi
done
echo "" >> Makefile.am