Though I really don't think it's a good idea, have you tried just adding 
install : check to your Makefile.am?

Anyways, the reason I don't think it's a good idea is that it will break 
cross-compiling, as your test programs will probably not run on the build 
host in that case..

HTH

rlc

NB: I've never tried adding install : check to a Makefile.am, so I'm not 
*sure* it works, but I'd say it's wroth a try.. :)

On Mon, 24 Mar 2003, Dr. David Kirkby wrote:
> Sorry, I meant to say 'make check' not 'make test'. Can I force 'make
> check' to run if 'make install' prior to 'make check' being run?
> 
> I guess I should really be saying that installing platform independent
> data files would depend on running 'make check' first, as there is
> nothing stopping someone installing the platform dependant binaries
> without running 'make check', but the platform independent data files
> are only created during the checking procedure.
> 
> Does that make sense?



Reply via email to