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

llvm-svn: 92000
This commit is contained in:
Mikhail Glushenkov 2009-12-23 12:50:03 +00:00
parent 4429e70623
commit 0cb2a55c76
1 changed files with 6 additions and 0 deletions

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