summaryrefslogtreecommitdiff
path: root/tools/llvmc/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvmc/doc/Makefile')
-rw-r--r--tools/llvmc/doc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/llvmc/doc/Makefile b/tools/llvmc/doc/Makefile
index 65e6b9b5e0..ef98767e7b 100644
--- 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