From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 21 May 2023 12:42:34 +0000 (+0100) Subject: add --broken to the git describe call X-Git-Tag: 4.3~1^2~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0e9c0ac34fd350d9179d6fc39c47e64bb07e875;p=thirdparty%2Fshairport-sync.git add --broken to the git describe call --- diff --git a/Makefile.am b/Makefile.am index 1634c6af..6cf318d3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -38,14 +38,14 @@ endif endif endif -# include information generated by 'git describe --tags --dirty' if requested +# include information generated by 'git describe --tags --dirty --broken' if requested if USE_GIT_VERSION shairport_sync_SOURCES += gitversion.c gitversion.h: .git/index printf "// Do not edit!\n" > gitversion.h - printf "// This file is automatically generated by 'git describe --tags --dirty', if available.\n" >> gitversion.h + printf "// This file is automatically generated by 'git describe --tags --dirty --broken', if available.\n" >> gitversion.h printf " char git_version_string[] = \"" >> gitversion.h - git describe --tags --dirty | tr -d '[[:space:]]' >> gitversion.h + git describe --tags --dirty --broken | tr -d '[[:space:]]' >> gitversion.h printf "\";\n" >> gitversion.h gitversion.c: gitversion.h touch gitversion.c