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

2003-03-24 Thread Guido Draheim
install-data-local : check That's the answer. In reality I have a last line in the configure.ac that says "echo '#' make && make check && make install" - it does remind a casual install-from-source guy to do a "make check" before going to "make install". 't works pretty well, since many do a simpl

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

2003-03-24 Thread Eric Siegerman
On Tue, Mar 25, 2003 at 01:30:08AM +, Dr. David Kirkby wrote: > [Bitmaps (.bmp files) are to be generated by "make check", and then > installed as examples by "make install"] How big are the bitmaps? If they're small enough, or compress well enough, it might be reasonable to just include them

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

2003-03-24 Thread Dr. David Kirkby
Ronald Landheer-Cieslak wrote: > > Though I really don't think it's a good idea, have you tried just adding > install : check to your Makefile.am? > No, I had not, I might try that - but see below. > Anyways, the reason I don't think it's a good idea is that it will break > cross-compiling, as

Re: Reducing output verbosity

2003-03-24 Thread Jay Cornwall
On Sun, 23 Mar 2003, Alexandre Duret-Lutz wrote: > Jay> Do all those defines really need to be done on the command line? >See the Autoconf documentation for AC_CONFIG_HEADERS, or >the Automake documentation for `no-define'. Ah, thanks. AC_CONFIG_HEADERS cleared that up. :) > Jay> And is it real

`make install' and $(BUILT_SOURCES)

2003-03-24 Thread zaufi
Hi, I found a problem running `make install' in my project. It contain generation of valued file (needed to success compile sources) as BUILT_SOURCES definition. Targes such as `all' and `check' work fine, except `install', becouse it is not depended on $(BUILT_SOURCES). As I can see in generat

I

2003-03-24 Thread Arena-Watch

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

2003-03-24 Thread Ronald Landheer-Cieslak
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'v

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

2003-03-24 Thread Dr. David Kirkby
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 someon

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

2003-03-24 Thread Dr. David Kirkby
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.