Re: Post build step and Makefile.am

2006-01-23 Thread Ralf Wildenhues
Hi Henri, * Henri Herscher wrote on Mon, Jan 23, 2006 at 11:40:38PM CET: > > I'm trying to get a small script to execute after building an automake > library target (lib_LTLIBRARIES) so that when I type "make" it builds > the lib and then executes my script. > > I've seen elsewhere there is some

Re: setting $VERSION at runtime

2006-01-23 Thread Ralf Wildenhues
Hi Brian, * Brian Dessent wrote on Mon, Jan 23, 2006 at 11:34:09PM CET: > > We have an application where the version number (for the purposes of > creating a dist tarball) is determined by grepping for $Revision $ in > the toplevel ChangeLog. Because this is not a static value, it means we > can

Re: setting $VERSION at runtime

2006-01-23 Thread Daniel Reed
On Mon, 23 Jan 2006, Brian Dessent wrote: Is there any way of setting this value of VERSION for the "dist" rule at runtime? For posting development snapshots, I use: snapshottime = `date +%Y-%m-%d-%H%M` snap: README echo "#define NAIM_SNAPSHOT \"-${snapshottime} (development snapshot)\

Re: setting $VERSION at runtime

2006-01-23 Thread Bob Friesenhahn
On Mon, 23 Jan 2006, Bruce Korb wrote: What is your goal? If your desire is to have a version that always "bumps" without having to think about it, you might want to consider thinking again. :) As you have noticed, by using ChangeLog you have to manually do something else. What it boils down

Re: setting $VERSION at runtime

2006-01-23 Thread Bruce Korb
Brian Dessent wrote: We have an application where the version number (for the purposes of creating a dist tarball) is determined by grepping for $Revision $ in the toplevel ChangeLog. Because this is not a static value, it means we can't just set VERSION when running automake, since a commit cou

Post build step and Makefile.am

2006-01-23 Thread Henri Herscher
Hi, I'm trying to get a small script to execute after building an automake library target (lib_LTLIBRARIES) so that when I type "make" it builds the lib and then executes my script. I've seen elsewhere there is something called "install-exec-hook" for doing this in the install phase. Is there suc

setting $VERSION at runtime

2006-01-23 Thread Brian Dessent
We have an application where the version number (for the purposes of creating a dist tarball) is determined by grepping for $Revision $ in the toplevel ChangeLog. Because this is not a static value, it means we can't just set VERSION when running automake, since a commit could cause it to bump wi