2000-06-19 Paolo Bonzini <bonzini@gnu.org>
authorTom Tromey <tromey@redhat.com>
Mon, 19 Jun 2000 22:30:34 +0000 (22:30 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 19 Jun 2000 22:30:34 +0000 (22:30 +0000)
* texi-vers.am: define UPDATED-MONTH variable (for an example, see
GNU make's manual)

ChangeLog
lib/am/texi-vers.am
texi-vers.am

index bf6032e..ac85059 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-19  Paolo Bonzini    <bonzini@gnu.org>
+
+       * texi-vers.am: define UPDATED-MONTH variable (for an example, see
+       GNU make's manual)
+
 2000-06-02  Morten Eriksen  <mortene@sim.no>
 
         * depcomp: workaround for problem with SGI IRIX sed (it can only
index a2580e5..4d0c3ef 100644 (file)
@@ -1,5 +1,6 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999,
+##               2000 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -21,9 +22,11 @@ $(srcdir)/@VTEXI@: @MAINTAINER_MODE_TRUE@stamp-@VTI@
 ## Depend on configure.in so that version number updates cause a
 ## rebuild.
 $(srcdir)/stamp-@VTI@: @TEXI@ $(top_srcdir)/configure.in
-       @echo "@set UPDATED `$(SHELL) @MDDIR@mdate-sh $(srcdir)/@TEXI@`" > @VTI@.tmp
-       @echo "@set EDITION $(VERSION)" >> @VTI@.tmp
-       @echo "@set VERSION $(VERSION)" >> @VTI@.tmp
+       @(set `$(SHELL) @MDDIR@mdate-sh $(srcdir)/@TEXI@`; \
+       echo "@set UPDATED $$1 $$2 $$3"; \
+       echo "@set UPDATED-MONTH $$2 $$3"; \
+       echo "@set EDITION $(VERSION)"; \
+       echo "@set VERSION $(VERSION)") > @VTI@.tmp
 ## Use cp and rm here because some older "mv"s can't move across
 ## filesystems.  Furthermore, GNU "mv" in the AmigaDOS environment
 ## can't handle this.
index a2580e5..4d0c3ef 100644 (file)
@@ -1,5 +1,6 @@
 ## automake - create Makefile.in from Makefile.am
-## Copyright (C) 1994, 1995, 1996, 1998, 1999 Free Software Foundation, Inc.
+## Copyright (C) 1994, 1995, 1996, 1998, 1999,
+##               2000 Free Software Foundation, Inc.
 
 ## This program is free software; you can redistribute it and/or modify
 ## it under the terms of the GNU General Public License as published by
@@ -21,9 +22,11 @@ $(srcdir)/@VTEXI@: @MAINTAINER_MODE_TRUE@stamp-@VTI@
 ## Depend on configure.in so that version number updates cause a
 ## rebuild.
 $(srcdir)/stamp-@VTI@: @TEXI@ $(top_srcdir)/configure.in
-       @echo "@set UPDATED `$(SHELL) @MDDIR@mdate-sh $(srcdir)/@TEXI@`" > @VTI@.tmp
-       @echo "@set EDITION $(VERSION)" >> @VTI@.tmp
-       @echo "@set VERSION $(VERSION)" >> @VTI@.tmp
+       @(set `$(SHELL) @MDDIR@mdate-sh $(srcdir)/@TEXI@`; \
+       echo "@set UPDATED $$1 $$2 $$3"; \
+       echo "@set UPDATED-MONTH $$2 $$3"; \
+       echo "@set EDITION $(VERSION)"; \
+       echo "@set VERSION $(VERSION)") > @VTI@.tmp
 ## Use cp and rm here because some older "mv"s can't move across
 ## filesystems.  Furthermore, GNU "mv" in the AmigaDOS environment
 ## can't handle this.