This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
The following patch allows the documentation's revision date to be
kept up to date. Currently, the last revision date is shown as May
1993. I'd like to think we're revising the documentation more
frequently than that :-)
Okay for mainline?
2004-12-06 Ben Elliston <bje@au.ibm.com>
* doc/Makefile.am (config.texi): Emit a @set UPDATED command to
config.texi whose value is the current month and year.
* doc/Makefile.in: Rebuild.
* doc/binutils.texi: Set the document subtitle to be the value of
the Texinfo UPDATED variable (obtained from config.texi).
Index: Makefile.am
===================================================================
RCS file: /home/bje/src-cvs/src/binutils/doc/Makefile.am,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile.am
--- Makefile.am 28 Nov 2003 04:58:41 -0000 1.6
+++ Makefile.am 6 Dec 2004 03:56:53 -0000
@@ -35,6 +35,7 @@ info_TEXINFOS = binutils.texi
config.texi: Makefile
rm -f config.texi
echo '@set VERSION $(VERSION)' > config.texi
+ echo "@set UPDATED `date "+%B %Y"`" >> config.texi
binutils_TEXI = $(srcdir)/binutils.texi
Index: Makefile.in
===================================================================
RCS file: /home/bje/src-cvs/src/binutils/doc/Makefile.in,v
retrieving revision 1.16
diff -u -p -r1.16 Makefile.in
--- Makefile.in 30 Nov 2004 17:20:39 -0000 1.16
+++ Makefile.in 6 Dec 2004 03:56:53 -0000
@@ -447,6 +432,7 @@ maintainer-clean-generic clean mostlycle
config.texi: Makefile
rm -f config.texi
echo '@set VERSION $(VERSION)' > config.texi
+ echo "@set UPDATED `date "+%B %Y"`" >> config.texi
binutils.dvi: $(binutils_TEXI) config.texi
Index: binutils.texi
===================================================================
RCS file: /home/bje/src-cvs/src/binutils/doc/binutils.texi,v
retrieving revision 1.61
diff -u -p -r1.61 binutils.texi
--- binutils.texi 8 Nov 2004 08:12:48 -0000 1.61
+++ binutils.texi 6 Dec 2004 03:56:54 -0000
@@ -68,7 +68,7 @@ notice identical to this one except for
@title The @sc{gnu} Binary Utilities
@subtitle Version @value{VERSION}
@sp 1
-@subtitle May 1993
+@subtitle @value{UPDATED}
@author Roland H. Pesch
@author Jeffrey M. Osier
@author Cygnus Support
Attachment:
signature.asc
Description: Digital signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |