From a0e9c0ac34fd350d9179d6fc39c47e64bb07e875 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sun, 21 May 2023 13:42:34 +0100 Subject: [PATCH] add --broken to the git describe call --- Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.47.3