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>
这个提交包含在:
Lars Hjemli
2007-06-18 09:42:10 +02:00
父节点 4a0be58666
当前提交 f69250358a
共有 7 个文件被更改,包括 27 次插入16 次删除

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;