add --broken to the git describe call
This commit is contained in:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user