Re: automake breaks my file by putting includes after rules; how do I fix this?

2013-11-20 Thread Diego Elio Pettenò
On Wed, Nov 20, 2013 at 9:33 PM, Jason Gross wrote: > (I don't want to require running autoreconf and > configure whenever you add a file that the makefile already knows how to > compile). > You actually do not need autoreconf. Maintainer mode will take care of it for you buy only running automa

automake breaks my file by putting includes after rules; how do I fix this?

2013-11-20 Thread Jason Gross
I have a Makefile.am which includes another file in order to get a list of files it should compile (I don't want to require running autoreconf and configure whenever you add a file that the makefile already knows how to compile). But this does not work with automake's generated all and all-am targ

Re: Want "make check" to test shared, static lib

2013-11-20 Thread Christian Rössel
Torbjörn, On 11/13/2013 06:45 PM, Torbjorn Granlund wrote: We in the GMP project would like to have "make check" run through our testsuite for both the static and shared libs (when both are built). We haven't been able to achive this. Please help. assuming that you are using libtool, just co

Re: Error when using make distcheck

2013-11-20 Thread Roger Leigh
On Wed, Nov 20, 2013 at 09:05:57AM +1000, Peter Johansson wrote: > On 11/20/2013 06:45 AM, jerome hamm wrote: > >Hi, > > > >I am trying to pack some software using udev rules, which therefore needs > >to copy some files to /lib/udev/rules.d. > >When I try and run make distcheck, at the step where i

Re: Want "make check" to test shared, static lib

2013-11-20 Thread Torbjorn Granlund
Christian Rössel writes: assuming that you are using libtool, just configure twice, with --enable-static --disable-shared' and '--disable-static --enable-shared' respectively. Maybe this is not the solution you are looking for, but it is an easy workaround that is trivial to automate; a