Tk Library Source Code

Artifact [82b65c264a]
Login

Artifact 82b65c264a893d65e7d69b8456a9063463de85b4:

Attachment "500655.diff" to ticket [500655ffff] added by andreas_kupries 2002-01-12 05:43:13.
? 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  <[email protected]>
 
+	* 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  <[email protected]>
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/*