summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJan Safranek <jsafrane@redhat.com>2013-10-21 12:43:52 +0200
committerJan Safranek <jsafrane@redhat.com>2013-10-21 12:43:52 +0200
commit25734a3b0525fdabda6d975bf1909b46d99d08b8 (patch)
tree72912f8aa2417a4b96beff23149eb94d5edddc6b /doc
parent0b4bf012e987da36c1eed05b2e99ed86385c9bb3 (diff)
downloadopenlmi-providers-25734a3b0525fdabda6d975bf1909b46d99d08b8.tar.gz
openlmi-providers-25734a3b0525fdabda6d975bf1909b46d99d08b8.tar.xz
openlmi-providers-25734a3b0525fdabda6d975bf1909b46d99d08b8.zip
Do not depend on installed openlmi-providers.
Diffstat (limited to 'doc')
-rw-r--r--doc/admin/CMakeLists.txt6
-rw-r--r--doc/admin/conf.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/admin/CMakeLists.txt b/doc/admin/CMakeLists.txt
index 887fe4f..74076cb 100644
--- a/doc/admin/CMakeLists.txt
+++ b/doc/admin/CMakeLists.txt
@@ -84,11 +84,11 @@ foreach(I RANGE ${LEN})
)
add_custom_target(${PROVIDER}-doc-mof
- COMMAND openlmi-doc-class2rst
+ COMMAND $(CMAKE_SOURCE_DIR)/tools/openlmi-doc-class2rst
-H ${CMAKE_CURRENT_SOURCE_DIR}/header.txt
--schema /usr/share/mof/cim-current/CIM_Schema.mof
- --schema /usr/share/openlmi-providers/05_LMI_Qualifiers.mof
- --schema /usr/share/openlmi-providers/30_LMI_Jobs.mof
+ --schema ${CMAKE_SOURCE_DIR}/mof/05_LMI_Qualifiers.mof
+ --schema ${CMAKE_SOURCE_DIR}/mof/30_LMI_Jobs.mof
--mof ${CMAKE_SOURCE_DIR}/mof/${MOF}
CIM_ComputerSystem
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${PROVIDER}/mof
diff --git a/doc/admin/conf.py b/doc/admin/conf.py
index 89bed50..62109fe 100644
--- a/doc/admin/conf.py
+++ b/doc/admin/conf.py
@@ -107,7 +107,7 @@ html_theme = 'openlmitheme'
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
-html_theme_path = ["../../../../tools"]
+html_theme_path = ["../../tools"]
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".