[Top][All Lists]

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

Can I force 'make install' to depend on 'make test'?

From: Dr. David Kirkby
Subject: Can I force 'make install' to depend on 'make test'?
Date: Mon, 24 Mar 2003 09:17:12 +0000

I have a package which is supplied with a few examples files, which I want to 
install. So 'make install' should install them. I can do that okay.

As part of the self-tests, running 'make check' will generate some more 
examples and check their integrity with an md5 checksum. I can do that okay.

Now the problem is, not only do I want the 'make install' to install the 
supplied examples, but also those created in the 'make test' phase. Hence 
running 'make install' without running 'make test' will fail, as some of the 
files that are generated during the test procedure won't be present. Is there a 
way to force a 'make test' to occur prior to the user running  'make install' ?

Dr. David Kirkby,
Senior Research Fellow,
Department of Medical Physics,
University College London,
11-20 Capper St, London, WC1E 6JA.
Tel: 020 7679 6408 Fax: 020 7679 6269
Internal telephone: ext 46408
e-mail address@hidden

reply via email to

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