On 30-Apr-00 at 19:17, Ralf Corsepius ([EMAIL PROTECTED]) wrote:
> Rick Scott wrote:
> >
> > Thanks for the info. It would seem to be a deficiency of the automake
> > make dist target. If copies of these files are found within reach they
> > don't get added to the distribution.
> >
> > What we need is a dist-hook target in the top Makefile that will copy the
> > automake added files into $(distdir) _if_ they are not there. The source
> > of the copy will be either .. or ../.., I think.
>
> Nope, this should not be necessary.
>
> The behavior you describe is the default behavior, but it can be
> overriden with AC_CONFIG_AUX_DIR. Adding AC_CONFIG_AUX_DIR(.) to the
> toplevel configure.in should force automake to look into . and $srcdir/.
> only.
>
> You already seemed to have trying this, but AC_CONFIG_AUX_DIR(.) is
> invoked too late . This will force some other macro to pull in
> AC_CONFIG_AUX_DIR_DEFAULT which will cause the default rules to take
> effect instead of the desired ones. (search for install-sh in configure
> and you will see).
Yes, that was my first thought, and I was a little surprized when it didn't
work. It does make sense that something like that should be done very early,
now that you mention it.
>
> Another, similar flaky spot in the toplevel configure.in is not using an
> argument in the call to AC_INIT().
> The argument is used to detect srcdir - not setting it can cause nasty
> effects. The observation of having to set ac_aux_dir=test could be an
> indication of such a side-effect.
>
> Please try the patch below.
Certainly will, thanks.
>
> Ralf
>
> --
> Ralf Corsepius
> Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung (FAW)
> Helmholtzstr. 16, 89081 Ulm, Germany Tel: +49/731/501-8690
> mailto:[EMAIL PROTECTED] FAX: +49/731/501-999
> http://www.faw.uni-ulm.de