summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvmc/doc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvmc/doc/Makefile')
-rw-r--r--llvm/tools/llvmc/doc/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/llvm/tools/llvmc/doc/Makefile b/llvm/tools/llvmc/doc/Makefile
new file mode 100644
index 00000000000..864376f9d90
--- /dev/null
+++ b/llvm/tools/llvmc/doc/Makefile
@@ -0,0 +1,21 @@
+##===- tools/llvmc/doc/Makefile ----------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+RST2HTML=rst2html --stylesheet=llvm.css --link-stylesheet
+
+all : LLVMC-Reference.html LLVMC-Tutorial.html
+
+LLVMC-Tutorial.html : LLVMC-Tutorial.rst llvm.css
+ $(RST2HTML) $< $@
+
+LLVMC-Reference.html : LLVMC-Reference.rst llvm.css
+ $(RST2HTML) $< $@
+
+clean :
+ rm *.html
OpenPOWER on IntegriCloud