From: Tom Tromey Date: Mon, 19 Jun 2000 22:30:34 +0000 (+0000) Subject: 2000-06-19 Paolo Bonzini X-Git-Tag: Release-1-4b~77 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=3d26fdeb1937405a985fdf84d109d50ce277a027;p=automake.git 2000-06-19 Paolo Bonzini * texi-vers.am: define UPDATED-MONTH variable (for an example, see GNU make's manual) --- diff --git a/ChangeLog b/ChangeLog index bf6032e3..ac85059d 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 a2580e54..4d0c3ef4 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 a2580e54..4d0c3ef4 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.