diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-06-25 17:33:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-06-25 17:33:49 +0000 |
commit | bc817cffbca01c879f13e9290d94797f6caafc7a (patch) | |
tree | 1640f753c585ffb2ea039de78977396c89cc32b4 /docs/tools | |
parent | a510767963e6bf04f0bc15de057f6bafa0aedab5 (diff) | |
download | clang-bc817cffbca01c879f13e9290d94797f6caafc7a.tar.gz |
build: Get CLANG_VERSION from Version.inc instead of depending on VER file directly.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106864 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/tools')
-rw-r--r-- | docs/tools/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/tools/Makefile b/docs/tools/Makefile index 4cffc45fe0..5521d6b764 100644 --- a/docs/tools/Makefile +++ b/docs/tools/Makefile @@ -40,7 +40,8 @@ else CLANG_LEVEL := ../.. include $(CLANG_LEVEL)/Makefile -CLANG_VERSION := $(shell cat $(PROJ_SRC_DIR)/../../VER) +CLANG_VERSION := $(word 3,$(shell grep "CLANG_VERSION " \ + $(PROJ_OBJ_DIR)/$(CLANG_LEVEL)/include/clang/Basic/Version.inc)) SRC_DOC_DIR=$(PROJ_SRC_DIR)/ DST_HTML_DIR=$(PROJ_OBJ_DIR)/ |