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)
This commit is contained in:
Brent Cook 2014-10-26 09:23:03 -05:00
parent 8b695e534b
commit ccaf9cdd9c

View File

@ -417,25 +417,21 @@ apps_excludes=(
cp $i . cp $i .
echo "dist_man_MANS += $NAME" >> Makefile.am echo "dist_man_MANS += $NAME" >> Makefile.am
done done
$CP $openssl_cmd_src/openssl.1 .
echo "dist_man_MANS += openssl.1" >> Makefile.am
# convert remaining POD manpages # convert remaining POD manpages
for i in crypto,3 apps,1; do for i in `ls -1 $libssl_src/src/doc/crypto/*.pod | sort`; 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//"` BASE=`echo $i|sed -e "s/\.pod//"`
NAME=`basename "$BASE"` NAME=`basename "$BASE"`
# reformat file if new # reformat file if new
if [ ! -f $NAME.$2 -o $BASE.pod -nt $NAME.$2 -o ../VERSION -nt $NAME.$2 ]; then if [ ! -f $NAME.3 -o $BASE.pod -nt $NAME.3 -o ../VERSION -nt $NAME.3 ]; then
echo processing $NAME echo processing $NAME
pod2man --official --release="LibreSSL $VERSION" --center=LibreSSL \ pod2man --official --release="LibreSSL $VERSION" --center=LibreSSL \
--section=$2 $POD2MAN --name=$NAME < $BASE.pod > $NAME.$2 --section=3 $POD2MAN --name=$NAME < $BASE.pod > $NAME.3
fi fi
echo "dist_man_MANS += $NAME.$2" >> Makefile.am echo "dist_man_MANS += $NAME.3" >> Makefile.am
done done
done
$CP $openssl_cmd_src/openssl.1 .
echo "dist_man_MANS += openssl.1" >> Makefile.am
echo "install-data-hook:" >> Makefile.am echo "install-data-hook:" >> Makefile.am
source ./links source ./links