git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Including git-describe info as version strings for generic "-v" output
@ 2012-01-21 19:09 Harry portobello
  2012-01-21 22:03 ` Junio C Hamano
  2012-01-23 11:16 ` demerphq
  0 siblings, 2 replies; 4+ messages in thread
From: Harry portobello @ 2012-01-21 19:09 UTC (permalink / raw)
  To: git; +Cc: Harry portobello

Hi all,

I hope the subject makes sense -- I'll explain what I'm trying to do.

I'm wondering what the best approaches are to being able to include
output from git-describe [1] for generic version strings in projects
managed by Git? This would have to work from within an
autotools-managed project.

At the moment, I've managed to hook the output from git-describe in to
a few .m4 files, which works only at ./configure time -- but of
course, with this being Git, I'd ideally like the same mechanism to
work in a situation where someone does:

$ git pull && make

It's knowing how to plumb this in to the Makefile.am part I'm hazy over.

Any help would be much appreciated.

Harry

[1] I know it's "git describe"; I'm using its hyphenated form for
clarity of context.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-23 11:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-21 19:09 Including git-describe info as version strings for generic "-v" output Harry portobello
2012-01-21 22:03 ` Junio C Hamano
2012-01-22 16:03   ` Dirk Süsserott
2012-01-23 11:16 ` demerphq

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).