diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2014-12-30 20:07:51 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-12-30 20:07:51 +0100 |
commit | bead6a36fc5329a7e1ef3d138d5e2b29481b380d (patch) | |
tree | 03fcc3315cff824f68dfc8e96240df62fc368d12 /man | |
parent | 29fade027e4c46443d47ebaa93024f0441a7a550 (diff) | |
download | libr-bead6a36fc5329a7e1ef3d138d5e2b29481b380d.tar.gz libr-bead6a36fc5329a7e1ef3d138d5e2b29481b380d.zip |
Conversion to CMake
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'man')
-rw-r--r-- | man/CMakeLists.txt | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt new file mode 100644 index 0000000..599ee96 --- /dev/null +++ b/man/CMakeLists.txt @@ -0,0 +1,26 @@ +################################################# +# +# (C) 2014 Slávek Banko +# slavek (DOT) banko (AT) axis.cz +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + + +add_custom_target( man ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/man3 ) + +add_custom_command( + OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/man3 + COMMAND doxygen ../doc/libr.cfg + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + COMMENT "Generate manpages" +) + +install( + DIRECTORY man3 + DESTINATION ${MAN_INSTALL_DIR} + PATTERN "_*" EXCLUDE +) |