aboutsummaryrefslogtreecommitdiff
path: root/tools/llvmc/doc/Makefile
diff options
context:
space:
mode:
authorMikhail Glushenkov <foldr@codedgers.com>2008-11-25 21:38:12 +0000
committerMikhail Glushenkov <foldr@codedgers.com>2008-11-25 21:38:12 +0000
commit113ec35f7f69bd66c0fbab7b42e2b9d59eddb946 (patch)
tree3b134d1c1e4f3a77e35efe15051cb40295f4e801 /tools/llvmc/doc/Makefile
parentd91487785f641af7f5c6c32b04cb28cfe94518a9 (diff)
Since the old llvmc was removed, rename llvmc2 to llvmc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/doc/Makefile')
-rw-r--r--tools/llvmc/doc/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/llvmc/doc/Makefile b/tools/llvmc/doc/Makefile
new file mode 100644
index 0000000000..864376f9d9
--- /dev/null
+++ b/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