summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2001-04-06 23:29:17 (GMT)
committerandreas_kupries <akupries@shaw.ca>2001-04-06 23:29:17 (GMT)
commit9777db5094c42eabbad41300b9a61e15b1998aae (patch)
tree7f32095ad28b0d89408cbc55bb85d0e0aa32b107 /unix
parent6d043366e408d9c7434a567048ab86ba9b452790 (diff)
downloadtcl-9777db5094c42eabbad41300b9a61e15b1998aae.zip
tcl-9777db5094c42eabbad41300b9a61e15b1998aae.tar.gz
tcl-9777db5094c42eabbad41300b9a61e15b1998aae.tar.bz2
2001-04-07 Andreas Kupries <andreas_kupries@users.sourceforge.net>
* unix/Makefile.in (checkdoc): New target, checking the definitions as found in the compiled library against the manpages to find undocumented public functionality. * unix/mkLinks: Updated to include the new manpage. * doc/UniCharIsAlpha.3: New manpage documenting the Unicode character classification APIs [Bug #218720].
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in20
-rw-r--r--unix/mkLinks24
2 files changed, 43 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 1c8e612..f59fef4 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -5,7 +5,7 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.72 2001/04/04 07:13:52 hobbs Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.73 2001/04/06 23:29:17 andreas_kupries Exp $
VERSION = @TCL_VERSION@
@@ -1069,6 +1069,24 @@ checkstubs:
done
#
+# Target to check that all public APIs which are not command
+# implementations have an entry in section three of the distributed
+# manpages.
+#
+
+checkdoc:
+ -@for i in `nm -p $(TCL_LIB_FILE) | awk '$$3 ~ /Tcl_/ { print $$3 }' \
+ | grep -v 'Cmd$$' | sort -n`; do \
+ match=0; \
+ for j in $(TOP_DIR)/doc/*.3; do \
+ if [ `grep '\-' $$j | grep -c $$i` -gt 0 ]; then \
+ match=1; \
+ fi; \
+ done; \
+ if [ $$match -eq 0 ]; then echo $$i; fi \
+ done
+
+#
# Target to check for proper usage of UCHAR macro.
#
diff --git a/unix/mkLinks b/unix/mkLinks
index ae25177..d0b8d5c 100644
--- a/unix/mkLinks
+++ b/unix/mkLinks
@@ -972,6 +972,30 @@ if test -r Translate.3; then
rm -f Tcl_TranslateFileName.3
ln Translate.3 Tcl_TranslateFileName.3
fi
+if test -r UniCharIsAlpha.3; then
+ rm -f Tcl_UniCharIsAlnum.3
+ rm -f Tcl_UniCharIsAlpha.3
+ rm -f Tcl_UniCharIsControl.3
+ rm -f Tcl_UniCharIsDigit.3
+ rm -f Tcl_UniCharIsGraph.3
+ rm -f Tcl_UniCharIsLower.3
+ rm -f Tcl_UniCharIsPrint.3
+ rm -f Tcl_UniCharIsPunct.3
+ rm -f Tcl_UniCharIsSpace.3
+ rm -f Tcl_UniCharIsUpper.3
+ rm -f Tcl_UniCharIsWordChar.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsAlnum.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsAlpha.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsControl.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsDigit.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsGraph.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsLower.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsPrint.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsPunct.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsSpace.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsUpper.3
+ ln UniCharIsAlpha.3 Tcl_UniCharIsWordChar.3
+fi
if test -r UpVar.3; then
rm -f Tcl_UpVar.3
rm -f Tcl_UpVar2.3