Sigh. That darn tcl source tree is damn strange. I missed the fact that
the *.3 man pages are not installed with their distributed names, so all the links were messed up. :-(
This commit is contained in:
parent
311fae7c8a
commit
d184a3fef5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18055
@ -1,5 +1,5 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# $Id: mkMakefile.sh,v 1.7 1996/08/29 16:46:14 chuckr Exp $
|
# $Id: mkMakefile.sh,v 1.8 1996/08/29 19:30:50 peter Exp $
|
||||||
#
|
#
|
||||||
# This script generates a bmake Makefile for src/lib/libtcl
|
# This script generates a bmake Makefile for src/lib/libtcl
|
||||||
#
|
#
|
||||||
@ -40,7 +40,7 @@ echo '#
|
|||||||
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
|
# Please change src/tools/tools/tcl_bmake/mkMakefile.sh instead
|
||||||
#
|
#
|
||||||
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
|
# Generated by src/tools/tools/tcl_bmake/mkMakefile.sh version:
|
||||||
# $Id: mkMakefile.sh,v 1.7 1996/08/29 16:46:14 chuckr Exp $
|
# $Id: mkMakefile.sh,v 1.8 1996/08/29 19:30:50 peter Exp $
|
||||||
#
|
#
|
||||||
' | tr -d '$' >> ${LIBTCL}Makefile
|
' | tr -d '$' >> ${LIBTCL}Makefile
|
||||||
|
|
||||||
@ -132,7 +132,15 @@ $s/ \\$//
|
|||||||
echo >> ${LIBTCL}Makefile
|
echo >> ${LIBTCL}Makefile
|
||||||
|
|
||||||
# The (3) manpages
|
# The (3) manpages
|
||||||
(cd ${SRCDIR}/doc; echo *.3) | fmt 60 65 | sed '
|
for i in ${SRCDIR}/doc/*.3
|
||||||
|
do
|
||||||
|
sed '
|
||||||
|
1,/^.SH NAME/d
|
||||||
|
/^.SH SYNOPSIS/,$d
|
||||||
|
' $i | sed -n '
|
||||||
|
1s/[, \\].*//p
|
||||||
|
'
|
||||||
|
done | fmt 60 65 | sed '
|
||||||
s/^/ /
|
s/^/ /
|
||||||
s/$/ \\/
|
s/$/ \\/
|
||||||
1s/ /MAN3+= /
|
1s/ /MAN3+= /
|
||||||
@ -157,6 +165,27 @@ do
|
|||||||
' >> ${LIBTCL}Makefile
|
' >> ${LIBTCL}Makefile
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo '
|
||||||
|
# Ugly, I know, but what else can I do?!?
|
||||||
|
' >> ${LIBTCL}Makefile
|
||||||
|
|
||||||
|
for i in ${SRCDIR}/doc/*.3
|
||||||
|
do
|
||||||
|
sed '
|
||||||
|
1,/^.SH NAME/d
|
||||||
|
/^.SH SYNOPSIS/,$d
|
||||||
|
s/,//g
|
||||||
|
' $i | sed -n '
|
||||||
|
1s/\\-.*//p
|
||||||
|
' | awk '
|
||||||
|
{
|
||||||
|
print ""
|
||||||
|
print $1 ".3: ${TCLDIST}/doc/" B ".3"
|
||||||
|
print "\tln -s \${.ALLSRC} \${.TARGET}"
|
||||||
|
}
|
||||||
|
' B=`basename $i` .3 >> ${LIBTCL}Makefile
|
||||||
|
done
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user