bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mdate.sh is executed incorrectly (Automake 1.4f)


From: Alexey Mahotkin
Subject: mdate.sh is executed incorrectly (Automake 1.4f)
Date: Tue, 26 Jun 2001 23:54:58 +0400 (MSD)

Hello,

[ Please keep me in Cc: list on that matter. ]
[ Derek, it is related to the patches I'll be sending you shortly. ]

seems like Makefile.in generated from Makefile.am are generated
incorrectly wrt execution of mdate.sh when processing Texinfo files
with @include version.texi inside.

The generated doc/Makefile.in reads:

$(srcdir)/version.texi:  $(srcdir)/stamp-vti
        @:
$(srcdir)/stamp-vti: cvs.texinfo $(top_srcdir)/configure.in
        @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/cvs.texinfo`; \

However, the mdate-sh is put by automake into $(top_srcdir) and its
invocation should be changed accordingly.  Otherwise, I get: 

  make: Entering directory `/var/src/ccvs-fixed/doc'
  ./mdate-sh: ./mdate-sh: No such file or directory
  Updating ./version.texi

and the version.texi contains only the output of `set' without any
arguments (BASH=/bin/sh BASH_VERSION='2.03.0(1)-release') etc.


I had to copy mdate-sh to doc/ subdirectory to satisfy the automake
and to work-around the bug.


Sorry if that's already fixed in CVS, I do not have possibility to
look it up there....


Thanks,

--alexm




reply via email to

[Prev in Thread] Current Thread [Next in Thread]