From 97a8e75ab5f502bc4dcb5c3b3389052e87763ef2 Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 19 May 2016 02:32:29 -0400 Subject: build system: when building from a git repo, explicitly depend on .git/index. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index 962fab4..d2479b0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,7 +1,7 @@ PACKAGE = @package@ NICKNAME = @nickname@ PROJECT_DIR = @project_dir@ -GIT_REFERENCE_DIR = @git_reference_dir@ +GIT_REFERENCE_INDEX = @git_reference_index@ CUSTOM_INSTALL_HEADERS = @custom_install_headers@ AVOID_VERSION = @avoid_version@ @@ -212,7 +212,7 @@ host.tag: Makefile $(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)" touch host.tag -version.tag: $(GIT_REFERENCE_DIR) +version.tag: $(GIT_REFERENCE_INDEX) $(PROJECT_DIR)/sysinfo/version.sh \ -s $(PROJECT_DIR) \ -o build/$(PACKAGE)_version.h \ -- cgit v1.2.3