summaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-19 02:32:29 -0400
committermidipix <writeonce@midipix.org>2016-05-19 02:36:34 -0400
commitfa9462433fb01e6b5a5065792773f18e732af2a7 (patch)
treeaec9853f7fa12b922ada926c3edf336ba2635371 /Makefile.in
parent3e490528f4ef60506d909fcc60c8a5984e575e18 (diff)
downloadntapi-fa9462433fb01e6b5a5065792773f18e732af2a7.tar.bz2
ntapi-fa9462433fb01e6b5a5065792773f18e732af2a7.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 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 \