check-local for different versions

[email protected]
Newsgroups gmane.comp.gnu.utils
Organization http://groups.google.com
Message-ID <[email protected]>
Hello,

I am using automake (version 1.9).

A part of our project can be configured in two different ways, by
modifying macro definitions in a header file. We would like to test the
two versions.

Writing this to the Makefile.am of that subproject:

check-local:
	<commands that modify the header file>
	make check

would lead to infinite recursion (target `check' calls target
`check-local', etc.).

Any idea how to do this?

-- dave
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.