handle man pages without SYNOPSIS but looking for both SYNOPSIS and
DESCRIPTION git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10756 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -24,7 +24,7 @@ for f in "$@"; do
|
||||
eval "echo $INSTALL_DATA $srcdir/$c $catdir/$base.$suffix"
|
||||
eval "$INSTALL_DATA $srcdir/$c $catdir/$base.$suffix"
|
||||
fi
|
||||
for link in `sed -n -e '/SYNOPSIS/q;s/^\.Nm \([^ ]*\).*/\1/p' $srcdir/$f`; do
|
||||
for link in `sed -n -e '/SYNOPSIS/q;/DESCRIPTION/q;s/^\.Nm \([^ ]*\).*/\1/p' $srcdir/$f`; do
|
||||
if [ "$link" != "$base" ]; then
|
||||
target="$mandir/$link.$section"
|
||||
for cmd in "ln -f $mandir/$base.$section $target" \
|
||||
|
Reference in New Issue
Block a user