This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]