aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorCharlie Root <root@rocinante.obtuse.com>2014-07-11 04:14:48 -0600
committerCharlie Root <root@rocinante.obtuse.com>2014-07-11 04:14:48 -0600
commitab3d9838cd88981b4d7ca54f06b8f7d2227f61b9 (patch)
tree339f05491c5ff2ebeb20c2837ca63d8129b74c11 /update.sh
parent9c478f202c152122e1588ecb15fc777c264d413c (diff)
downloadportable-ab3d9838cd88981b4d7ca54f06b8f7d2227f61b9.tar.gz
portable-ab3d9838cd88981b4d7ca54f06b8f7d2227f61b9.tar.bz2
portable-ab3d9838cd88981b4d7ca54f06b8f7d2227f61b9.zip
wording changes and initial stab at crypto man pages.
still need to get man links working and ssl and apps man pages added.
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index c6ae79c..69fc475 100755
--- a/update.sh
+++ b/update.sh
@@ -4,7 +4,7 @@ set -e
4# resync this library with the upstream project, remove old submodule dirs 4# resync this library with the upstream project, remove old submodule dirs
5if [ -d openbsd ]; then 5if [ -d openbsd ]; then
6 (cd openbsd 6 (cd openbsd
7 git co master 7 git checkout master
8 git pull) 8 git pull)
9else 9else
10 if [ -z "$LIBRESSL_GIT" ]; then 10 if [ -z "$LIBRESSL_GIT" ]; then
@@ -51,7 +51,7 @@ copy_crypto() {
51} 51}
52 52
53cp $libssl_src/src/LICENSE COPYING 53cp $libssl_src/src/LICENSE COPYING
54cp $libssl_src/src/CHANGES ChangeLog 54echo "Please see OpenBSD CVS logs" > ChangeLog
55 55
56cp $libcrypto_src/crypto/arch/amd64/opensslconf.h include/openssl 56cp $libcrypto_src/crypto/arch/amd64/opensslconf.h include/openssl
57cp $libssl_src/src/e_os2.h include/openssl 57cp $libssl_src/src/e_os2.h include/openssl
@@ -381,3 +381,14 @@ crypto_excludes=(
381 echo "noinst_HEADERS += $i" >> Makefile.am 381 echo "noinst_HEADERS += $i" >> Makefile.am
382 done 382 done
383) 383)
384
385(cd man
386 cp Makefile.am.tpl Makefile.am
387 for i in `ls -1 ../$libssl_src/src/doc/crypto/*.pod | sort`; do
388 BASE=`echo $i|sed -e "s/\.pod//"`
389 echo $BASE
390 NAME=`basename "$BASE"`
391 pod2man --official --release=LibreSSL --center=LibreSSL --section=3 --name=$NAME < $BASE.pod > $NAME.3
392 echo "man_MAN += $NAME.3" >> Makefile.am
393 done
394)