diff options
author | Brent Cook <busterb@gmail.com> | 2014-07-11 00:15:13 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2014-07-11 00:15:13 -0500 |
commit | 5acefa2f5a714fbb63d60e9841baac00d21519e1 (patch) | |
tree | 62a368d4be7fddefbb1146c47211534a3694de7e /update.sh | |
parent | 589165fef33af9a36d2e0a13577f14bc64d65fcf (diff) | |
download | portable-5acefa2f5a714fbb63d60e9841baac00d21519e1.tar.gz portable-5acefa2f5a714fbb63d60e9841baac00d21519e1.tar.bz2 portable-5acefa2f5a714fbb63d60e9841baac00d21519e1.zip |
add manpages and links
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 26 |
1 files changed, 19 insertions, 7 deletions
@@ -19,6 +19,7 @@ libssl_regress=openbsd/src/regress/lib/libssl | |||
19 | libc_src=openbsd/src/lib/libc | 19 | libc_src=openbsd/src/lib/libc |
20 | libc_regress=openbsd/src/regress/lib/libc | 20 | libc_regress=openbsd/src/regress/lib/libc |
21 | libcrypto_src=openbsd/src/lib/libcrypto | 21 | libcrypto_src=openbsd/src/lib/libcrypto |
22 | openssl_cmd_src=openbsd/src/usr.sbin/openssl | ||
22 | libcrypto_regress=openbsd/src/regress/lib/libcrypto | 23 | libcrypto_regress=openbsd/src/regress/lib/libcrypto |
23 | 24 | ||
24 | source $libssl_src/ssl/shlib_version | 25 | source $libssl_src/ssl/shlib_version |
@@ -384,11 +385,22 @@ crypto_excludes=( | |||
384 | 385 | ||
385 | (cd man | 386 | (cd man |
386 | cp Makefile.am.tpl Makefile.am | 387 | cp Makefile.am.tpl Makefile.am |
387 | for i in `ls -1 ../$libssl_src/src/doc/crypto/*.pod | sort`; do | 388 | for i in `ls -1 ../$libssl_src/src/doc/crypto/*.pod | sort`; do |
388 | BASE=`echo $i|sed -e "s/\.pod//"` | 389 | BASE=`echo $i|sed -e "s/\.pod//"` |
389 | echo $BASE | 390 | NAME=`basename "$BASE"` |
390 | NAME=`basename "$BASE"` | 391 | echo processing $NAME |
391 | pod2man --official --release=LibreSSL --center=LibreSSL --section=3 --name=$NAME < $BASE.pod > $NAME.3 | 392 | #pod2man --official --release=LibreSSL --center=LibreSSL --section=3 --name=$NAME < $BASE.pod > $NAME.3 |
392 | echo "dist_man_MANS += $NAME.3" >> Makefile.am | 393 | echo "dist_man_MANS += $NAME.3" >> Makefile.am |
393 | done | 394 | done |
395 | echo "dist_man_MANS += openssl.1" >> Makefile.am | ||
396 | echo "post-install-exec-hook:" >> Makefile.am | ||
397 | cp ../$openssl_cmd_src/openssl.1 . | ||
398 | echo " \$(LN_S) \$(DESTDIR)\$(mandir)/man1/$1 \$(DESTDIR)\$(mandir)/man1/$2" >> Makefile.am | ||
399 | source links | ||
400 | IFS="," | ||
401 | for i in $MANLINKS; do | ||
402 | set $i | ||
403 | echo " \$(LN_S) \$(DESTDIR)\$(mandir)/man3/$1 \$(DESTDIR)\$(mandir)/man3/$2" >> Makefile.am | ||
404 | done | ||
405 | unset IFS | ||
394 | ) | 406 | ) |