Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Thomas Dickey
On Fri, 6 Jul 2007, Russ Allbery wrote: Thomas Dickey <[EMAIL PROTECTED]> writes: It's possible to make your install-target depend on the file that you want to install, but doing that for several files can be tedious. I do this in regular makefiles, for instance $(INSTALLDIR)/foo: $(SRCDIR

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Ralf Wildenhues
Hello, * Benoit SIGOURE wrote on Fri, Jul 06, 2007 at 10:46:47PM CEST: > http://lists.gnu.org/archive/html/automake-patches/2006-10/msg00070.html See this one as well: Cheers, Ralf

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Russ Allbery
Thomas Dickey <[EMAIL PROTECTED]> writes: > It's possible to make your install-target depend on the file that you > want to install, but doing that for several files can be tedious. I do > this in regular makefiles, for instance > $(INSTALLDIR)/foo: $(SRCDIR)/foo > $(INSTALL) $(SRCDIR)/foo

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Benoit SIGOURE
On Jul 6, 2007, at 8:20 PM, Jeff Safier wrote: Make install seems to copy the target whether its been rebuilt or not and every time the file is copied it puts a new timestamp on the file. You might want to have a look at these two threads: ``install -C'' / unnecessarily updating time stamps h

Re: How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Thomas Dickey
On Fri, 6 Jul 2007, Jeff Safier wrote: Make install seems to copy the target whether its been rebuilt or not and every time the file is copied it puts a new timestamp on the file. that's another of those features which the automake maintainer doesn't agree with. It's possible to make your i

How do i get make install to only copy target if it was rebuilt

2007-07-06 Thread Jeff Safier
Make install seems to copy the target whether its been rebuilt or not and every time the file is copied it puts a new timestamp on the file. Jeff Safier Cornell-Mayo Associates 600 Lanidex Plaza Parsipanny, NJ 07054 Phone: (973) 887 3069 X119 Fax: (973) 887-0383 Information contained in this

declaring various files ...

2007-07-06 Thread Roberto Alejandro Espí Muñoz
I finally created my project and managed to create my Makefile.am like so: hmi_SOURCES = \ $(elementos) hmi_LDADD = ./Utils/*.o ./RIPC/*.o ./Middleware/*.o ./IO/*.o ./Graphics/*.o ./GTK/*.o ./Events/*.o ./Draw/*.o ./Commands/*.o ./Cairo/*.o ./Base/*.o -lsvg -lripcclient -lboost_date_ti

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Thomas Dickey
On Fri, 6 Jul 2007, Bob Rossi wrote: On Fri, Jul 06, 2007 at 10:02:12AM -0400, Thomas Dickey wrote: On Fri, 6 Jul 2007, Bob Rossi wrote: On Fri, Jul 06, 2007 at 06:24:47AM -0400, Thomas Dickey wrote: On Thu, 5 Jul 2007, Bob Rossi wrote: Even easier. Perhaps someone should post a patch for

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Bob Rossi
On Fri, Jul 06, 2007 at 10:02:12AM -0400, Thomas Dickey wrote: > On Fri, 6 Jul 2007, Bob Rossi wrote: > > >On Fri, Jul 06, 2007 at 06:24:47AM -0400, Thomas Dickey wrote: > >>On Thu, 5 Jul 2007, Bob Rossi wrote: > >> > >>>Even easier. Perhaps someone should post a patch for this feature! > >> > >>T

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Thomas Dickey
On Fri, 6 Jul 2007, Bob Rossi wrote: On Fri, Jul 06, 2007 at 06:24:47AM -0400, Thomas Dickey wrote: On Thu, 5 Jul 2007, Bob Rossi wrote: Even easier. Perhaps someone should post a patch for this feature! There is (it's been discussed on this mailing list more than once). But I see you in on

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Bob Rossi
On Fri, Jul 06, 2007 at 06:24:47AM -0400, Thomas Dickey wrote: > On Thu, 5 Jul 2007, Bob Rossi wrote: > > >Even easier. Perhaps someone should post a patch for this feature! > > There is (it's been discussed on this mailing list more than once). > But I see you in one of the discussions.. > > F

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Thomas Dickey
On Fri, 6 Jul 2007, Simon Richter wrote: Hi, Dizzy wrote: CC init/version.o Displaying the whole compile line is pretty useless in my opinion... Indeed it is and when it errors (the only moment when you need to know the command that errored) it can be displayed as people said in

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Thomas Dickey
On Fri, 6 Jul 2007, Brendon Costa wrote: In addition to that, its also possible though more work to disable echo but to emit the command line after a command fails. Not only do ... agree (that's the type of rote repetition for which automake is supposedly intended - forcing the users to alway

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Thomas Dickey
On Thu, 5 Jul 2007, Bob Rossi wrote: Even easier. Perhaps someone should post a patch for this feature! There is (it's been discussed on this mailing list more than once). But I see you in one of the discussions.. For those who came late, here's one of the places where the automake maintaine

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Dizzy
On Friday 06 July 2007 11:49, Simon Richter wrote: > Hi, > > Dizzy wrote: > >> CC init/version.o > >> > >> Displaying the whole compile line is pretty useless in my opinion... > > > > Indeed it is and when it errors (the only moment when you need to know > > the command that errored) it can

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Simon Richter
Hi, Dizzy wrote: CC init/version.o Displaying the whole compile line is pretty useless in my opinion... Indeed it is and when it errors (the only moment when you need to know the command that errored) it can be displayed as people said in other replies. No, there may be errors th

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Dizzy
On Thursday 05 July 2007 23:21, Johannes Bauer wrote: > Hello list, > > how can I modify the output of an Automake project so that it does not > display the whole command line, but simply the short version like the > Linux Kernel does, e.g.: I think I have asked about a similar thing some time ago

Re: Modify Output to look like Linux Kernel

2007-07-06 Thread Dalibor Topic
Bob Rossi wrote: On Thu, Jul 05, 2007 at 05:34:19PM -0400, Thomas Dickey wrote: On Thu, 5 Jul 2007, Bob Friesenhahn wrote: A big difference between Automake projects and building the Linux kernel is that building the linux kernel is practically assured to succeed where as building Automake pr