commit ca7f2f6172cf030ab50915aab295f1223fc84482
parent 86d1f982b8a62a0b45f993f06e05a5e891bf88be
Author: Frederic Cambus <fred@statdns.com>
Date: Mon, 23 Mar 2020 18:19:14 +0100
Add install target for man page.
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -4,7 +4,7 @@
# https://www.statdns.com
#
# Created: 2012-02-13
-# Last Updated: 2019-11-17
+# Last Updated: 2020-03-23
#
# StatZone is released under the BSD 2-Clause license
# See LICENSE file for details.
@@ -54,6 +54,7 @@ add_definitions(-Wall -Wextra -std=c99 -pedantic)
add_executable(statzone ${SRC})
install(TARGETS statzone DESTINATION ${CMAKE_INSTALL_BINDIR})
+install(FILES statzone.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1/)
enable_testing()
add_test(statzone statzone)