summaryrefslogtreecommitdiffstats
path: root/host/docs
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-12-27 16:57:09 -0800
committerJosh Blum <josh@joshknows.com>2010-12-27 16:57:09 -0800
commit5c08896e6c4124de69f43f0765468dc4d517920b (patch)
tree47ef644eadac0e9271eb26e4e222035461f6bfae /host/docs
parentbf8677c9a96c3ed7fae48a57759b9f4742cd7593 (diff)
parent7d3842dbd01175dc04cbd77e852b30af3ab5ac35 (diff)
downloaduhd-5c08896e6c4124de69f43f0765468dc4d517920b.tar.gz
uhd-5c08896e6c4124de69f43f0765468dc4d517920b.tar.bz2
uhd-5c08896e6c4124de69f43f0765468dc4d517920b.zip
Merge branch 'uhd_master' into uhd_next
Diffstat (limited to 'host/docs')
-rw-r--r--host/docs/CMakeLists.txt14
1 files changed, 6 insertions, 8 deletions
diff --git a/host/docs/CMakeLists.txt b/host/docs/CMakeLists.txt
index d6a7801bf..54e0d589c 100644
--- a/host/docs/CMakeLists.txt
+++ b/host/docs/CMakeLists.txt
@@ -38,17 +38,15 @@ SET(manual_sources
MESSAGE(STATUS "")
MESSAGE(STATUS "Checking for rst2html (docutils)")
FIND_PROGRAM(RST2HTML rst2html)
-IF(${RST2HTML} STREQUAL "RST2HTML-NOTFOUND")
- MESSAGE(STATUS "Checking for rst2html (docutils) - not found")
- MESSAGE(STATUS " Disabled generation of HTML manual.")
- SET(HAVE_RST2HTML FALSE)
-ELSE(${RST2HTML} STREQUAL "RST2HTML-NOTFOUND")
+IF(RST2HTML)
MESSAGE(STATUS "Checking for rst2html (docutils) - found")
MESSAGE(STATUS " Enabled generation of HTML manual.")
- SET(HAVE_RST2HTML TRUE)
-ENDIF(${RST2HTML} STREQUAL "RST2HTML-NOTFOUND")
+ELSE(RST2HTML)
+ MESSAGE(STATUS "Checking for rst2html (docutils) - not found")
+ MESSAGE(STATUS " Disabled generation of HTML manual.")
+ENDIF(RST2HTML)
-LIBUHD_REGISTER_COMPONENT("Manual" ENABLE_MANUAL ON "HAVE_RST2HTML" OFF)
+LIBUHD_REGISTER_COMPONENT("Manual" ENABLE_MANUAL ON "RST2HTML" OFF)
IF(ENABLE_MANUAL)
#setup rst2html options