aboutsummaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2016-11-05 12:25:38 -0500
committerBrent Cook <bcook@openbsd.org>2016-11-05 12:31:29 -0500
commit0241a8d4da9ebc524ab96054f065d9265f139c0d (patch)
treeed004bbd971690bc4b327be9ece8f10d62dfe6eb /update.sh
parent584221560060a5ba82eb85b74d92c88e634918f6 (diff)
downloadportable-0241a8d4da9ebc524ab96054f065d9265f139c0d.tar.gz
portable-0241a8d4da9ebc524ab96054f065d9265f139c0d.tar.bz2
portable-0241a8d4da9ebc524ab96054f065d9265f139c0d.zip
update for new manpage layout, pod files are gone
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh15
1 files changed, 1 insertions, 14 deletions
diff --git a/update.sh b/update.sh
index 7a2d065..0a00c75 100755
--- a/update.sh
+++ b/update.sh
@@ -328,7 +328,7 @@ echo "dist_man_MANS += tls_init.3" >> man/Makefile.am
328 328
329(cd man 329(cd man
330 # update new-style manpages 330 # update new-style manpages
331 for i in `ls -1 $libssl_src/doc/*.3 | sort`; do 331 for i in `ls -1 $libssl_src/man/*.3 | sort`; do
332 NAME=`basename "$i"` 332 NAME=`basename "$i"`
333 $CP $i . 333 $CP $i .
334 echo "dist_man_MANS += $NAME" >> Makefile.am 334 echo "dist_man_MANS += $NAME" >> Makefile.am
@@ -339,19 +339,6 @@ echo "dist_man_MANS += tls_init.3" >> man/Makefile.am
339 $CP $i . 339 $CP $i .
340 echo "dist_man_MANS += $NAME" >> Makefile.am 340 echo "dist_man_MANS += $NAME" >> Makefile.am
341 done 341 done
342
343 # convert remaining POD manpages
344 for i in `ls -1 $libcrypto_src/doc/*.pod | sort`; do
345 BASE=`echo $i|sed -e "s/\.pod//"`
346 NAME=`basename "$BASE"`
347 # reformat file if new
348 if [ ! -f $NAME.3 -o $BASE.pod -nt $NAME.3 -o ../include/openssl/opensslv.h -nt $NAME.3 ]; then
349 echo processing $NAME
350 pod2man --official --release="LibreSSL $VERSION" --center=LibreSSL \
351 --section=3 $POD2MAN --name=$NAME < $BASE.pod > $NAME.3
352 fi
353 echo "dist_man_MANS += $NAME.3" >> Makefile.am
354 done
355) 342)
356add_man_links . man/Makefile.am 343add_man_links . man/Makefile.am
357 344