Overhauled llvm/clang docs builds. Closes PR6613.
[oota-llvm.git] / docs / api / Makefile
1 ##===- docs/api/Makefile -----------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9
10 LEVEL = ../..
11
12 include $(LEVEL)/Makefile.common
13
14 API.Project  = LLVM
15 API.project  = llvm
16 API.srcdir   = $(PROJ_SRC_ROOT)
17
18 include $(LLVM_SRC_ROOT)/docs/mk/api.mk
19
20 # Define API.skeleton=1 to generate only a subset of API; for testing purposes.
21 #
22 ifneq (undefined,$(origin API.skeleton))
23 $(API.doxygen.target): API.doxygen.cfg.opts += INPUT=$(PROJ_SRC_DIR)/intro.h
24 $(API.doxygen.target): API.doxygen.cfg.opts += INPUT+=$(PROJ_SRC_ROOT)/include/llvm/Target
25 endif