From a80b749085a54bb83c2d5cfce35c7870aab05031 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 19 Jun 2000 22:30:34 +0000 Subject: [PATCH] 2000-06-19 Paolo Bonzini * texi-vers.am: define UPDATED-MONTH variable (for an example, see GNU make's manual) --- ChangeLog | 5 +++++ lib/am/texi-vers.am | 11 +++++++---- texi-vers.am | 11 +++++++---- 3 files changed, 19 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index bf6032e..ac85059 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-06-19 Paolo Bonzini + + * texi-vers.am: define UPDATED-MONTH variable (for an example, see + GNU make's manual) + 2000-06-02 Morten Eriksen * depcomp: workaround for problem with SGI IRIX sed (it can only diff --git a/lib/am/texi-vers.am b/lib/am/texi-vers.am index a2580e5..4d0c3ef 100644 --- a/lib/am/texi-vers.am +++ b/lib/am/texi-vers.am @@ -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. diff --git a/texi-vers.am b/texi-vers.am index a2580e5..4d0c3ef 100644 --- a/texi-vers.am +++ b/texi-vers.am @@ -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. -- 2.7.4