Make it easier to regenerate docs when srcdir != objdir.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92000 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2009-12-23 12:50:03 +00:00
parent 0a9ff4b612
commit 9d2e2b2bb2

View File

@ -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