Commits

David Lamparter authored 0be793e674c
build: include git info

If enabled with --with-pkg-gitversion on ./configure, this will append git version strings and branch information at the following places: - overall version number: 0.99.21-g0123456 - login motd and show version: tag information + git id + branches Sample output: Hello, this is Quagga (version 0.99.21-g14b49ad-dirty). Copyright 1996-2005 Kunihiro Ishiguro, et al. This is a git build of quagga_0_99_21_release-106-g14b49ad-dirty Associated branch(es): local:master [v2]: fix build without gitinfo (add "else" branch) [v2]: fix for repos without any tags (different git describe output) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
No tags

lib/.gitignore

Modified
1 1 Makefile
2 2 Makefile.in
3 3 *.o
4 4 *.lo
5 5 *.la
6 6 version.c
7 7 version.h
8 +gitversion.h
9 +gitversion.h.tmp
8 10 .deps
9 11 .nfs*
10 12 .libs
11 13 .arch-inventory
12 14 .arch-ids
13 15 *~
14 16 *.loT
15 17 memtypes.h
16 18 route_types.h

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut