Hash :
dfb5e52f
Author :
Date :
2012-01-11T18:09:07
dist: avoid $(distdir) removal failure on MSYS/MinGW This change fixes automake bug#10470. On MSYS (1.0.17) it is not possible to remove a directory that is in use, and this, together with timing issues, could cause spurious failures in the cleanup code of the "distcheck" recipe. In fact, it should be noted that assuming a directory can be removed while it the CWD of a running process is a POSIX violation: "If the directory is the root directory or the current working directory of any process, it is unspecified whether the function succeeds, or whether it shall fail and set errno to [EBUSY]." * lib/am/distdir.am (am__remove_distdir): If rm fails, sleep some seconds and retry, to give potential "pending" processes some time to exit and "release" the directory. * tests/Makefile.am (XFAIL_TESTS): Remove 'distcheck-pr10470.test'. Report and suggestions by Peter Rosin and Eric Blake.
This is Automake, a Makefile generator. It was inspired by the 4.4BSD
make and include files, but aims to be portable and to conform to the
GNU Coding Standards for Makefile variables and targets.
Automake is a Perl script. The input files are called Makefile.am.
The output files are called Makefile.in; they are intended for use
with Autoconf. Automake requires certain things to be done in your
configure.ac.
Variable assignment lines in Makefile.am pull in defaults from various
little *.am files.
To use Automake, replace your Makefile.in files with Makefile.am
files. Read the documentation to see what to do.
This package also includes the "aclocal" program. aclocal is a
program to generate an `aclocal.m4' based on the contents of
`configure.ac'. It is useful as an extensible, maintainable mechanism
for augmenting autoconf. It is intended that other package authors
will write m4 macros which can be automatically used by aclocal.
Automake has a test suite. Use
make check
to run it. For more information, see the file tests/README.
Automake has a page on the web. See:
http://www.gnu.org/software/automake/
Automake also has three mailing lists:
* automake@gnu.org
For general discussions of Automake and its interactions with other
configuration/portability tools like Autoconf or Libtool.
* bug-automake@gnu.org
Where to send bug reports and feature requests.
* automake-patches@gnu.org
Where to send patches, and discuss the automake development process
and the design of new features.
To obtain more information about these list, or to subscribe to them,
refer to <http://www.gnu.org/software/automake/#mailinglists>
New releases are announced to autotools-announce@gnu.org. If you want to
be informed, subscribe to that list by following the instructions at
<http://lists.gnu.org/mailman/listinfo/autotools-announce>.
-----
Copyright (C) 1994, 1995, 1996, 1997, 1998, 2001, 2003, 2008, 2009, 2011
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
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.