]> git.ipfire.org Git - thirdparty/shairport-sync.git/commitdiff
Automake seems to get confused about where common.c is, due perhaps to its dependence...
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 10 Oct 2022 19:50:42 +0000 (20:50 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Mon, 10 Oct 2022 19:50:42 +0000 (20:50 +0100)
Makefile.am

index 7b896b3bace6566519974e721d37e2f91663343a..65ced9ded27cdbe57d4c0da6ca8d70bed4f07fdb 100644 (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