? modules/fileinput
? modules/ftp/example
? modules/ftpd/examples
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tcllib/tcllib/ChangeLog,v
retrieving revision 1.97
diff -u -r1.97 ChangeLog
--- ChangeLog	2002/01/11 22:28:30	1.97
+++ ChangeLog	2002/01/11 22:41:45
@@ -1,5 +1,11 @@
 2002-01-11  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
 
+	* Makefile.in (install-doc): Fixed bug #500655. Using the code
+	  from the tcl "Makefile.in" as template equivalent code for
+	  tcllib was created and added to the file "Makefile.in". The
+	  modified makefile now includes the contents of "man.macros" into
+	  every installed manpage.
+
 	* html: Applied patch #484117.
 
 2001-12-14  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
Index: Makefile.in
===================================================================
RCS file: /cvsroot/tcllib/tcllib/Makefile.in,v
retrieving revision 1.51
diff -u -r1.51 Makefile.in
--- Makefile.in	2001/11/26 11:46:31	1.51
+++ Makefile.in	2002/01/11 22:41:45
@@ -239,7 +239,9 @@
 	-for j in $(MODULES) ; do \
 	    echo "Installing documentation for $$j" ; \
 	    for i in $(srcdir)/modules/$$j/*.n ; do \
-	        $(INSTALL_DATA) $$i $(mandir)/mann ; \
+		sed -e '/man\.macros/r $(srcdir)/man.macros' -e '/man\.macros/d' $$i > $$$$ ; \
+	        $(INSTALL_DATA) $$$$ $(mandir)/mann/`basename $$i` ; \
+		rm $$$$ ; \
 	    done; \
 	done
 	-chmod 444 $(mandir)/mann/*
