mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-08-07 15:25:35 +00:00
- when making html versions of the man pages, skip files that appear
not to be GNO man pages, despite the file name. Be verbose about it.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
#
|
#
|
||||||
# Devin Reade, November 1997.
|
# Devin Reade, November 1997.
|
||||||
#
|
#
|
||||||
# $Id: mkhtmlman,v 1.5 1998/01/27 06:25:34 gdr-ftp Exp $
|
# $Id: mkhtmlman,v 1.6 1998/02/04 07:17:13 gdr-ftp Exp $
|
||||||
|
|
||||||
man2html=/usr/local/bin/man2html
|
man2html=/usr/local/bin/man2html
|
||||||
TMPDIR=${TMPDIR:-/tmp}
|
TMPDIR=${TMPDIR:-/tmp}
|
||||||
@@ -47,6 +47,10 @@ for section in 1 2 3 4 5 6 7 8; do
|
|||||||
| grep -v bin/gsh/updates1.1 \
|
| grep -v bin/gsh/updates1.1 \
|
||||||
| grep -v sed/tests` ; do
|
| grep -v sed/tests` ; do
|
||||||
[ "$F" = 00.DUMMY ] && continue;
|
[ "$F" = 00.DUMMY ] && continue;
|
||||||
|
if ! egrep -q -e '^\.TH.*GNO' $F; then
|
||||||
|
echo "$F:1: This does not appear to be a GNO manual page. Skipped."
|
||||||
|
continue
|
||||||
|
fi
|
||||||
f=`basename $F`
|
f=`basename $F`
|
||||||
f2=`echo $f | perl -pe 's/\.[^\.]+$//;'`
|
f2=`echo $f | perl -pe 's/\.[^\.]+$//;'`
|
||||||
echo "$f" >> $listfile
|
echo "$f" >> $listfile
|
||||||
|
Reference in New Issue
Block a user