]>
diplodocus.org Git - nmh/blob - config/version.sh
3 # version.sh -- script to create version string(s) for nmh.
4 # You need to pass the script the version number to use.
10 if test -d "$srcdir/.git"; then
11 git
=" `git -C $srcdir describe --long --dirty`"
15 date="`TZ=GMT0 date +'%Y-%m-%d %T'` +0000"
18 char *version_str = "nmh-$version$git built $date on $host";
19 char *version_num = "nmh-$version";
20 char *user_agent = "nmh/$version";