mirror of
https://git.zx2c4.com/cgit
synced 2025-08-04 01:54:28 +02:00
Add version info from git-describe
A new script, gen-version.sh, is now invoked from 'make version' to generate the file VERSION. This file contains a version identifier generated by git-describe and is included in the Makefile. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
4a0be58666
commit
f69250358a
7 changed files with 27 additions and 16 deletions
2
cgit.h
2
cgit.h
|
@ -98,7 +98,7 @@ struct taginfo {
|
|||
char *msg;
|
||||
};
|
||||
|
||||
extern const char cgit_version[];
|
||||
extern const char *cgit_version;
|
||||
|
||||
extern struct repolist cgit_repolist;
|
||||
extern struct repoinfo *cgit_repo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue