summaryrefslogtreecommitdiffhomepage
path: root/Makefile.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-20 18:46:42 -0400
committermidipix <writeonce@midipix.org>2016-11-10 23:35:41 -0500
commited1185d3ba4d55054acdce66ea05663ff188a36b (patch)
treeb87db0c66c7026d60ede94efe31feed593ebbe46 /Makefile.in
parentaeacc724c2cc6280c782bec47098b36c88325572 (diff)
downloadperk-ed1185d3ba4d55054acdce66ea05663ff188a36b.tar.bz2
perk-ed1185d3ba4d55054acdce66ea05663ff188a36b.tar.xz
build system: when present, use the git refdir as a version.tag dependency.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 98677d5..7671b87 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,5 +1,6 @@
PACKAGE = @package@
PROJECT_DIR = @project_dir@
+GIT_REFERENCE_DIR = @git_reference_dir@
BUILD = @build@
HOST = @host@
@@ -177,7 +178,7 @@ host.tag: Makefile
$(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)"
touch host.tag
-version.tag:
+version.tag: $(GIT_REFERENCE_DIR)
$(PROJECT_DIR)/sysinfo/version.sh \
-s $(PROJECT_DIR) \
-o build/$(PACKAGE)_version.h \