From efb25d0ca7d645b1411a78743399b1cd0d55d59b Mon Sep 17 00:00:00 2001 From: "Peter W. Draper" <p.w.draper@durham.ac.uk> Date: Wed, 8 May 2019 17:53:21 +0100 Subject: [PATCH] Add src/Makefile as a dependency of version_string.h so that it gets updated after a configure Fixes: 548 --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index adf9f30ae3..40a1104a5d 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -221,7 +221,7 @@ libswiftsim_mpi_la_LIBADD = $(GRACKLE_LIBS) $(VELOCIRAPTOR_LIBS) # the current git revision and package version. # May have a checkout without a version_string.h file and no git command (tar/zip # download), allow that, but make sure we know it. -version_string.h: version_string.h.in $(AM_SOURCES) $(include_HEADERS) $(noinst_HEADERS) +version_string.h: version_string.h.in Makefile $(AM_SOURCES) $(include_HEADERS) $(noinst_HEADERS) if test "X$(GIT_CMD)" != "X"; then \ GIT_REVISION=`$(GIT_CMD) describe --abbrev=8 --always --tags --dirty`; \ GIT_BRANCH=`$(GIT_CMD) branch | sed -n 's/^\* \(.*\)/\1/p'`; \ -- GitLab