Files
bongo/man/CMakeLists.txt
T
Mario Fetka c8b250e9b0
Debian Trixie package bundle / packages (push) Successful in 22m11s
Implement durable C local mail submission
2026-07-24 11:05:19 +02:00

49 lines
1.3 KiB
CMake

set(BONGO_MAN1_PAGES
bongo-admin.1
bongo-config.1
bongo-manager.1
bongo-queuetool.1
bongo-sendmail.1
bongo-setup.1
bongo-storetool.1
bongo-testtool.1
bongo-web.1)
set(BONGO_AGENT_MAN8_NAMES
bongoantispam
bongoavirus
bongocollector
bongodirector
bongoimap
bongopop3
bongoqueue
bongorules
bongosieve
bongosmtp
bongosmtpc
bongostore
bongoworker)
set(BONGO_CONFIGURED_MAN1_PAGES)
foreach(page IN LISTS BONGO_MAN1_PAGES)
configure_file("${page}" "${CMAKE_CURRENT_BINARY_DIR}/${page}" @ONLY)
list(APPEND BONGO_CONFIGURED_MAN1_PAGES
"${CMAKE_CURRENT_BINARY_DIR}/${page}")
endforeach()
configure_file(bongoagents.8
"${CMAKE_CURRENT_BINARY_DIR}/bongoagents.8" @ONLY)
configure_file(bongopostdrop.8
"${CMAKE_CURRENT_BINARY_DIR}/bongopostdrop.8" @ONLY)
install(FILES ${BONGO_CONFIGURED_MAN1_PAGES}
DESTINATION ${MAN_INSTALL_DIR}/man1)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bongoagents.8"
DESTINATION ${MAN_INSTALL_DIR}/man8)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bongopostdrop.8"
DESTINATION ${MAN_INSTALL_DIR}/man8)
foreach(agent IN LISTS BONGO_AGENT_MAN8_NAMES)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/bongoagents.8"
DESTINATION ${MAN_INSTALL_DIR}/man8
RENAME ${agent}.8)
endforeach()