1
##===- tools/llvmc/doc/Makefile ----------------------------*- Makefile -*-===##
3
# The LLVM Compiler Infrastructure
5
# This file is distributed under the University of Illinois Open Source
6
# License. See LICENSE.TXT for details.
8
##===----------------------------------------------------------------------===##
12
ifneq (,$(strip $(wildcard $(LEVEL)/Makefile.config)))
13
include $(LEVEL)/Makefile.config
20
RST2HTML=rst2html --stylesheet=llvm.css --link-stylesheet
22
all : LLVMC-Reference.html LLVMC-Tutorial.html
23
$(CP) LLVMC-Reference.html $(DOC_DIR)/CompilerDriver.html
24
$(CP) LLVMC-Tutorial.html $(DOC_DIR)/CompilerDriverTutorial.html
26
LLVMC-Tutorial.html : LLVMC-Tutorial.rst
29
LLVMC-Reference.html : LLVMC-Reference.rst
33
$(RM) LLVMC-Tutorial.html LLVMC-Reference.html