summaryrefslogtreecommitdiff
path: root/man/html.cmake
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-11-14 21:21:44 -0800
committerChad Versace <chad.versace@linux.intel.com>2012-11-14 22:35:56 -0800
commitd7d42b732e4b7c445dbcdef2471b641702ccf4e8 (patch)
tree2c735ffa65c219478840ff5e863f86c3fe9ba971 /man/html.cmake
parent6a5af6b00a3137a29045303d11d277a3b8999cbe (diff)
man: Add CSS for html docs
Add new file, manpage.css. Install it into the same dir as the html docs. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'man/html.cmake')
-rw-r--r--man/html.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/man/html.cmake b/man/html.cmake
index 31cd634..dbb27be 100644
--- a/man/html.cmake
+++ b/man/html.cmake
@@ -28,6 +28,7 @@ set(html_out_dir ${CMAKE_BINARY_DIR}/doc/html)
file(MAKE_DIRECTORY ${html_out_dir})
set(html_outputs
+ ${html_out_dir}/manpage.css
${html_out_dir}/waffle_attrib_list.3.html
${html_out_dir}/waffle_config.3.html
${html_out_dir}/waffle_context.3.html
@@ -83,6 +84,13 @@ waffle_add_html(3 waffle_window)
waffle_add_html(3 waffle_x11_egl)
waffle_add_html(7 waffle)
+add_custom_command(
+ OUTPUT ${html_out_dir}/manpage.css
+ DEPENDS manpage.css
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ COMMAND cp manpage.css ${html_out_dir}/manpage.css
+ )
+
add_custom_target(html
ALL
DEPENDS ${html_outputs}