]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
add --broken to the git describe call
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 21 May 2023 12:42:34 +0000 (13:42 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Sun, 21 May 2023 12:42:34 +0000 (13:42 +0100)
Makefile.am

index 1634c6af614ba4cdf69cdf909cc81ab324eba206..6cf318d351ddeabdad4eb51acdb951a8b2e01add 100644 (file)
@@ -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