automake
[Top][All Lists]
Advanced

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

Re: "include $(top_builddir)/aminclude.am" is ignored by automake


From: Stepan Kasal
Subject: Re: "include $(top_builddir)/aminclude.am" is ignored by automake
Date: Fri, 4 Feb 2005 09:25:02 +0100
User-agent: Mutt/1.4.1i

Hi,

On Fri, Feb 04, 2005 at 10:47:13AM +1100, Tom Howard wrote:
> Slight problem; Removed all the generated files, did an autoreconf and
> automake complains that fragement.mk is not found.  I can just touch the
> file before running autoreconf, but is there a nice way to tell automake
> that it can ignore that this files is missing?

a quick guess: write a rule which would regenerate the file, like this:

frag.mk: ./config.status
        ./config.status $@

or, if you are in a subdir:

frag.mk: $(top_builddir)/config.status
        cd $(top_builddir) && ./config.status $(subdir)/$@

HTH,
        Stepan Kasal




reply via email to

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