bug-automake
[Top][All Lists]
Advanced

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

Re: dist-hook and rights


From: Alexandre Duret-Lutz
Subject: Re: dist-hook and rights
Date: Thu, 29 Apr 2004 22:43:13 +0200

On Thu, Apr 29, 2004 at 03:11:35PM +0200, Akim Demaille wrote:
>
> Hi!
>
> When running make distcheck, dist-hook is run twice: once for the
> outer tarball, then for the dist performed on the tree built by
> distcheck.
>
> There is a big difference between the two though: in the second case,
> the tree is read only, which forbids side effects from dist-hook,
> which should be valid IMHO.

I do not understand this.  dist-hook is there to allow modifications
of things inside $(distdir)/.  I believe this directory is never
read-only.

Since this is the inner `make dist', every file in the source tree is
expected to be up-to-date (or the tarball generated by the first `make
dist' is bogus), and their should be no reason to update them.  That
also guaranties that `make dist' can work even of the source tree is
read-only.




reply via email to

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