diff options
author | midipix <writeonce@midipix.org> | 2016-04-20 18:46:42 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-20 18:46:42 -0400 |
commit | 3d89b847193591672edc2e1908770ea0c43a66de (patch) | |
tree | f9a794098783646dd7f8f5813f00fe227bef323c /Makefile.in | |
parent | 23e3c18bf1a702af48019a9c482b59ce342a2adc (diff) | |
download | slibtool-3d89b847193591672edc2e1908770ea0c43a66de.tar.bz2 slibtool-3d89b847193591672edc2e1908770ea0c43a66de.tar.xz |
build system: when present, use the git refdir as a version.tag dependency.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
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 \ |