nqptp.c: gitversion.h
gitversion.h: .git/index
echo "// Do not edit!" > gitversion.h
- echo "// This file is automatically generated by 'git describe --dirty', if available." >> gitversion.h
+ echo "// This file is automatically generated by 'git describe --tags --dirty --broken', if available." >> gitversion.h
echo -n " char git_version_string[] = \"" >> gitversion.h
- git describe --dirty | tr -d '[[:space:]]' >> gitversion.h
+ git describe --tags --dirty --broken | tr -d '[[:space:]]' >> gitversion.h
echo "\";" >> gitversion.h
FORCE: ;
CLEANFILES += gitversion.h