Mercurial > libjeffpc
changeset 789:14e07927c8a6
man: install mandoc-formated manpages as-is
Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author | Josef 'Jeff' Sipek <jeffpc@josefsipek.net> |
---|---|
date | Thu, 13 Feb 2020 14:20:10 -0500 |
parents | a2d5dca1f525 |
children | 8042a3ba4f56 |
files | CMakeLists.txt man/CMakeLists.txt |
diffstat | 2 files changed, 34 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Sun Feb 24 17:42:58 2019 -0500 +++ b/CMakeLists.txt Thu Feb 13 14:20:10 2020 -0500 @@ -1,5 +1,5 @@ # -# Copyright (c) 2016-2019 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> +# Copyright (c) 2016-2020 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -238,4 +238,5 @@ jeffpc ) +add_subdirectory(man) add_subdirectory(tests)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/man/CMakeLists.txt Thu Feb 13 14:20:10 2020 -0500 @@ -0,0 +1,32 @@ +# +# Copyright (c) 2020 Josef 'Jeff' Sipek <jeffpc@josefsipek.net> +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to deal +# in the Software without restriction, including without limitation the rights +# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +# copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +# SOFTWARE. +# + +set(MANPAGES + hexdump.3 + mxinit.3 + rand.3 + xread.3 +) + +install(FILES ${MANPAGES} + DESTINATION share/man/man3 + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ)