From 76388d1325e675c6617c379448869e2ef35c44a2 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 10 Oct 2022 20:50:42 +0100 Subject: [PATCH] Automake seems to get confused about where common.c is, due perhaps to its dependence on gitversion.h. This seems to fix it. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 7b896b3b..65ced9de 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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