From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Mon, 10 Oct 2022 19:50:42 +0000 (+0100) Subject: Automake seems to get confused about where common.c is, due perhaps to its dependence... X-Git-Tag: 4.1-rc3~1^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76388d1325e675c6617c379448869e2ef35c44a2;p=thirdparty%2Fshairport-sync.git Automake seems to get confused about where common.c is, due perhaps to its dependence on gitversion.h. This seems to fix it. --- 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