From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 21 May 2023 12:39:15 +0000 (+0100) Subject: Include lightweight tags and note if broken. X-Git-Tag: 1.2.1~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2afefb9d5e2d8ee09d2d9c77b831aedfb0a42ab1;p=thirdparty%2Fnqptp.git Include lightweight tags and note if broken. --- diff --git a/Makefile.am b/Makefile.am index dd86d52..8a497e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,9 +8,9 @@ if USE_GIT_VERSION nqptp.c: gitversion.h gitversion.h: .git/index echo "// Do not edit!" > gitversion.h - echo "// This file is automatically generated by 'git describe --dirty', if available." >> gitversion.h + echo "// This file is automatically generated by 'git describe --tags --dirty --broken', if available." >> gitversion.h echo -n " char git_version_string[] = \"" >> gitversion.h - git describe --dirty | tr -d '[[:space:]]' >> gitversion.h + git describe --tags --dirty --broken | tr -d '[[:space:]]' >> gitversion.h echo "\";" >> gitversion.h FORCE: ; CLEANFILES += gitversion.h