[Tfug] How do I get automake to set build number?

Andrew Ayre andy at britishideas.com
Tue Apr 17 15:40:54 MST 2007


I use a small program from the subversion developers that checks the
revision of all files in a folder and then uses the highest revision found
for the #define value. So although revision numbers are per file I use it
essentially per release. Unfortunately I'm required to develop using Windows
so the program I use is for Windows. But maybe there is something similar
for linux? I would be suprised if there wasn't.

Andy


-----Original Message-----

>
> I use subversion for all software development. It is possible to
> commit and
> then automatically insert the revision number into a #define,
> which then can
> be used any way you like. The advantage is that it is automatic and allows
> you to tie a release to a specific subversion revision.
>
> Andy


Andy -
Thank you -
I'm using cvs -- I get an automatic version number for every file I change,
but not for the entire thing.
I was looking into subversion a while back.  I forget why I didn't start
using it.  Partly because I didn't find out how to get version logs into the
files  $Log: and that kind of stuff.  KDevelop helps me fill those in every
time.

Joe


_______________________________________________
Tucson Free Unix Group - tfug at tfug.org
Subscription Options:
http://www.tfug.org/mailman/listinfo/tfug_tfug.org





More information about the tfug mailing list