From: Aaron Peschel Date: Tue, 9 Jun 2015 23:45:06 +0000 (-0700) Subject: Add Missing Makefile Dependency X-Git-Tag: jq-1.5rc2~72 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c95b4a8ab4ace9389788bd26a181d1b7448600ec;p=jq Add Missing Makefile Dependency main.c requires version.h, but there is no logic marking this dependency in the Makefile. This commit adds the dependency to the Makefile template. --- diff --git a/Makefile.am b/Makefile.am index 69da074..97e1033 100644 --- a/Makefile.am +++ b/Makefile.am @@ -66,6 +66,7 @@ generate_ver = ver="`{ $(srcdir)/scripts/version || echo '$(VERSION)' ; } | sed @ $(generate_ver); test "x`cat version.h 2>/dev/null`" = "x$$ver" || touch .remake-version-h version.h: .remake-version-h $(AM_V_GEN) $(generate_ver); echo "$$ver" > $@ +main.c: version.h bin_PROGRAMS = jq jq_SOURCES = main.c version.h