summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-09-21 22:32:56 -0400
committermidipix <writeonce@midipix.org>2016-09-21 22:32:56 -0400
commitaaf3aced55a3dba302ab4a25559607be8703c563 (patch)
tree1130fce015e05cd5a246ddc988a882f127221c52 /Makefile.in
parentaf797c7e5da70ac3e90b7da86dc409a27112bcb5 (diff)
downloadbcparser-aaf3aced55a3dba302ab4a25559607be8703c563.tar.bz2
bcparser-aaf3aced55a3dba302ab4a25559607be8703c563.tar.xz
build system: when building from a git repo, explicitly depend on .git/index.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 1a30a9f..1bbc47f 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -2,7 +2,7 @@ PACKAGE = @package@
NICKNAME = @nickname@
PROJECT_DIR = @project_dir@
SOURCE_DIR = @source_dir@
-GIT_REFERENCE_DIR = @git_reference_dir@
+GIT_REFERENCE_INDEX = @git_reference_index@
CUSTOM_INSTALL_HEADERS = @custom_install_headers@
AVOID_VERSION = @avoid_version@
@@ -219,7 +219,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 $(SOURCE_DIR) \
-o build/$(PACKAGE)_version.h \