projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a9ff4b
)
Make it easier to regenerate docs when srcdir != objdir.
author
Mikhail Glushenkov
<foldr@codedgers.com>
Wed, 23 Dec 2009 12:50:03 +0000
(12:50 +0000)
committer
Mikhail Glushenkov
<foldr@codedgers.com>
Wed, 23 Dec 2009 12:50:03 +0000
(12:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92000
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvmc/doc/Makefile
patch
|
blob
|
history
diff --git
a/tools/llvmc/doc/Makefile
b/tools/llvmc/doc/Makefile
index 65e6b9b5e0fe72751a234e72432e77cf4212fbd6..ef98767e7b48ecb13b6ecca5f2cbd687befa1029 100644
(file)
--- a/
tools/llvmc/doc/Makefile
+++ b/
tools/llvmc/doc/Makefile
@@
-8,7
+8,13
@@
##===----------------------------------------------------------------------===##
LEVEL=../../..
+
+ifneq (,$(strip $(wildcard $(LEVEL)/Makefile.config)))
include $(LEVEL)/Makefile.config
+else
+CP=cp
+RM=rm
+endif
DOC_DIR=../../../docs
RST2HTML=rst2html --stylesheet=llvm.css --link-stylesheet