summaryrefslogtreecommitdiffstats
path: root/doc/CMakeLists.txt
diff options
context:
space:
mode:
authorMarcelo Lira <marcelo.lira@openbossa.org>2011-01-03 11:10:32 -0300
committerMarcelo Lira <marcelo.lira@openbossa.org>2011-01-03 11:10:32 -0300
commit7563560d32c91d0cf58567358a0f0f85c590056f (patch)
treeafdec9eb8b4432ecd6ca8a463b73bfa890c8d926 /doc/CMakeLists.txt
parenta24e6bcd2251b6cbd78ec4e69a2b6b591738e697 (diff)
downloadshiboken-7563560d32c91d0cf58567358a0f0f85c590056f.tar.gz
shiboken-7563560d32c91d0cf58567358a0f0f85c590056f.tar.xz
shiboken-7563560d32c91d0cf58567358a0f0f85c590056f.zip
Added a Linux man page for Shiboken.
The man page was copied from the 'ubuntu' directory on the old 'packaging' repository.
Diffstat (limited to 'doc/CMakeLists.txt')
-rw-r--r--doc/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
index d78844dc..57c8fa75 100644
--- a/doc/CMakeLists.txt
+++ b/doc/CMakeLists.txt
@@ -7,4 +7,9 @@ if (SPHINX)
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
+endif()
+
+if (NOT win32)
+ file(GLOB manpages "${CMAKE_CURRENT_SOURCE_DIR}/*.1")
+ install(FILES ${manpages} DESTINATION share/man/man1)
+endif()