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,26 +417,22 @@ apps_excludes=(
cp $i . cp $i .
echo "dist_man_MANS += $NAME" >> Makefile.am echo "dist_man_MANS += $NAME" >> Makefile.am
done done
# 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
done
$CP $openssl_cmd_src/openssl.1 . $CP $openssl_cmd_src/openssl.1 .
echo "dist_man_MANS += openssl.1" >> Makefile.am echo "dist_man_MANS += openssl.1" >> Makefile.am
# convert remaining POD manpages
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
echo "install-data-hook:" >> Makefile.am echo "install-data-hook:" >> Makefile.am
source ./links source ./links
for i in $MLINKS; do for i in $MLINKS; do