[Top][All Lists]

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

RE: AMLOCAL_AMFLAGS and the dist recipe

From: David Byron
Subject: RE: AMLOCAL_AMFLAGS and the dist recipe
Date: Sat, 26 Nov 2005 16:20:38 -0800

On November 24, 2005, Ralf wrote: 

> > My original two cases were:
> > 
> > 1. ACLOCAL_AMFLAGS = -I ../../scripts/m4
> which pointed outside your package and thus is a nono (do
> not specify relative paths which point to something outside
> of your package).
> > or
> > 
> > 2. ACLOCAL_AMFLAGS = -I `cd ../../scripts/m4 && pwd`
> Which is technically ok, but will include the contents in
> aclocal.m4.
> > I don't know enough about automake/aclocal to know if a patch there
> > fix make dist for #1 is feasible.  I'll give it a shot if folks
think it
> > makes sense.
> It can't be done safely, unless ../../scripts is part of
> your package.  And then it works already, AFAIK (untested).

Sorry it took so long to sink in.  You're right.

I can think of a way to teach automake/aclocal to copy the files into
the dist tarball, but to make that work would mean "fixing"
ACLOCAL_AMFLAGS to point to the new place, which would be tough and
almost certainly unsafe.  Copying the files myself is certainly better
than this.

So I'll either stick with what I've got, or use one of your earlier

Thanks much.


reply via email to

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