Hello Philip,

* Philip Herron wrote on Wed, May 06, 2009 at 03:49:50PM CEST:
> 
> This is probably in the automake manual but hey. I am wondering is it
> possible to say in a Makefile.am besides your bin_programs CFLAGS etc...
> 
> Can you add extra things like a: make check rule -> to run the
> bin_program(s) and grep for a certain output or is it best to write a
> script to do this?

Yes, it is possible.  For the most part, Makefile.am contents are copied
into the resulting Makefile, so you can just use plain `make' rules as
you would in a Makefile.

Automake has support for test scripts and programs with the TESTS
variable, see "info Automake Tests".

Cheers,
Ralf


Reply via email to