Automake seems to get confused about where common.c is, due perhaps to its dependence on gitversion.h. This seems to fix it.

This commit is contained in:
Mike Brady
2022-10-10 20:50:42 +01:00
parent e4bb1447af
commit 76388d1325
+1 -1
View File
@@ -39,7 +39,7 @@ endif
# include information generated by 'git describe --tags --dirty' if requested
if USE_GIT_VERSION
common.c: gitversion.h
$(top_srcdir)/common.c: gitversion.h
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