From ccaf9cdd9c161c80c27907f7782d86cfe9625621 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 26 Oct 2014 09:23:03 -0500 Subject: remove duplicate (and overlapping) .1 manpages openssl.1 contains all of the information from the other application manpages, and is the only one packaged in OpenBSD. So, remove the other obsolete .1 manpages (and avoid overlapping system pages like passwd.1) --- update.sh | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/update.sh b/update.sh index a087a4c..661bf02 100755 --- a/update.sh +++ b/update.sh @@ -417,26 +417,22 @@ apps_excludes=( cp $i . echo "dist_man_MANS += $NAME" >> Makefile.am done + $CP $openssl_cmd_src/openssl.1 . + echo "dist_man_MANS += openssl.1" >> Makefile.am # convert remaining POD manpages - for i in crypto,3 apps,1; do - IFS=","; set $i; unset IFS - for i in `ls -1 $libssl_src/src/doc/$1/*.pod | sort`; do - BASE=`echo $i|sed -e "s/\.pod//"` - NAME=`basename "$BASE"` - # reformat file if new - if [ ! -f $NAME.$2 -o $BASE.pod -nt $NAME.$2 -o ../VERSION -nt $NAME.$2 ]; then - echo processing $NAME - pod2man --official --release="LibreSSL $VERSION" --center=LibreSSL \ - --section=$2 $POD2MAN --name=$NAME < $BASE.pod > $NAME.$2 - fi - echo "dist_man_MANS += $NAME.$2" >> Makefile.am - done + for i in `ls -1 $libssl_src/src/doc/crypto/*.pod | sort`; do + BASE=`echo $i|sed -e "s/\.pod//"` + NAME=`basename "$BASE"` + # reformat file if new + if [ ! -f $NAME.3 -o $BASE.pod -nt $NAME.3 -o ../VERSION -nt $NAME.3 ]; then + echo processing $NAME + pod2man --official --release="LibreSSL $VERSION" --center=LibreSSL \ + --section=3 $POD2MAN --name=$NAME < $BASE.pod > $NAME.3 + fi + echo "dist_man_MANS += $NAME.3" >> Makefile.am done - $CP $openssl_cmd_src/openssl.1 . - echo "dist_man_MANS += openssl.1" >> Makefile.am - echo "install-data-hook:" >> Makefile.am source ./links for i in $MLINKS; do -- cgit v1.2.3-55-g6feb