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 ##===----------------------------------------------------------------------===##
11 include $(LEVEL)/Makefile.config
15 RST2HTML=rst2html --stylesheet=$(RST_CSS) --link-stylesheet
17 all : LLVMC-Reference.html LLVMC-Tutorial.html $(RST_CSS)
18 $(CP) $(RST_CSS) $(DOC_DIR)/$(RST_CSS)
19 $(CP) LLVMC-Reference.html $(DOC_DIR)/CompilerDriver.html
20 $(CP) LLVMC-Tutorial.html $(DOC_DIR)/CompilerDriverTutorial.html
22 LLVMC-Tutorial.html : LLVMC-Tutorial.rst $(RST_CSS)
25 LLVMC-Reference.html : LLVMC-Reference.rst $(RST_CSS)
29 $(RM) LLVMC-Tutorial.html LLVMC-Reference.html