diff options
author | Brent Cook <bcook@openbsd.org> | 2015-04-26 23:01:26 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-04-26 23:19:58 -0500 |
commit | b0565945e45ce802d1685422903f1b56062d1056 (patch) | |
tree | d2d69cf30c4504c48f0720d57ce1a37496342261 | |
parent | 7dbc4ed3637b98e05c077ea29574979ede72fa4c (diff) | |
download | portable-b0565945e45ce802d1685422903f1b56062d1056.tar.gz portable-b0565945e45ce802d1685422903f1b56062d1056.tar.bz2 portable-b0565945e45ce802d1685422903f1b56062d1056.zip |
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.
-rwxr-xr-x | update.sh | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -263,8 +263,7 @@ echo "copying manpages" | |||
263 | for i in `cat ./links`; do | 263 | for i in `cat ./links`; do |
264 | IFS=","; set $i; unset IFS | 264 | IFS=","; set $i; unset IFS |
265 | if [ "$2" != "" ]; then | 265 | if [ "$2" != "" ]; then |
266 | echo " ln -f \$(DESTDIR)\$(mandir)/man3/$1 \\" >> Makefile.am | 266 | echo " ln -sf $1 \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am |
267 | echo " \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am | ||
268 | fi | 267 | fi |
269 | done | 268 | done |
270 | echo "" >> Makefile.am | 269 | echo "" >> Makefile.am |