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