summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-09-16 16:05:04 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2010-09-16 16:05:04 -0300
commit4914a426267dd6f6cf852445f071650b5c0f7971 (patch)
tree70f65b3b4056c5d76798bcbc74253795307db3d9
parent091d0efcffa7bb80b653a343d6d41fd8c2fa0b23 (diff)
downloadshiboken-4914a426267dd6f6cf852445f071650b5c0f7971.tar.gz
shiboken-4914a426267dd6f6cf852445f071650b5c0f7971.tar.xz
shiboken-4914a426267dd6f6cf852445f071650b5c0f7971.zip
Add missing CMakeLists.txt file.
-rw-r--r--doc/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644
index 00000000..d78844dc
--- /dev/null
+++ b/doc/CMakeLists.txt
@@ -0,0 +1,10 @@
+
+find_program(SPHINX sphinx-build DOC "Path to sphinx-build binary.")
+
+if (SPHINX)
+ message("-- sphinx-build - found")
+ configure_file(conf.py.in conf.py @ONLY)
+ add_custom_target(doc ${SPHINX} -b html -c . ${CMAKE_CURRENT_SOURCE_DIR} html )
+else()
+ message("-- sphinx-build - not found! doc target disabled")
+endif() \ No newline at end of file