summaryrefslogtreecommitdiffhomepage
path: root/project
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-07 03:14:45 -0500
committermidipix <writeonce@midipix.org>2019-01-09 22:43:14 -0500
commit0bbcdb37e87852dde9a8fd09ca64739ae50e1846 (patch)
tree6460baad238b368859e80c63391c417c5e1ed84a /project
parent8beafd54f06758bb639fd8b0b2e614f44f49f8ca (diff)
downloadmmglue-0bbcdb37e87852dde9a8fd09ca64739ae50e1846.tar.bz2
mmglue-0bbcdb37e87852dde9a8fd09ca64739ae50e1846.tar.xz
project: fixed dependency of build/version.h on build/ and .git/index.
Diffstat (limited to 'project')
-rw-r--r--project/headers.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/project/headers.mk b/project/headers.mk
index 0c3f9a4..59125f9 100644
--- a/project/headers.mk
+++ b/project/headers.mk
@@ -1,6 +1,5 @@
# build/version.h
-build/version.h:$(SOURCE_DIR)/VERSION $(SOURCE_DIR)/.git/index
- mkdir -p build
+build/version.h:$(wildcard $(SOURCE_DIR)/VERSION $(SOURCE_DIR)/.git/index) dirs.tag
printf '#define VERSION "%s"\n' \
"$$(cd $(SOURCE_DIR); $(SHELL) ./tools/version.sh)" > $@