don't install notcurses-tester.1 if not installing notcurses-tester #1824

pull/1838/head
nick black 3 years ago
parent 2f24e221f3
commit b425771bce
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -616,6 +616,8 @@ add_test(
)
set_tests_properties(notcurses-tester PROPERTIES RUN_SERIAL TRUE)
install(TARGETS notcurses-tester DESTINATION bin)
else()
list(FILTER MANSOURCE1 EXCLUDE REGEX "notcurses-tester.1.md")
endif()
enable_testing()
# the accursed Ubuntu buildd sets "TERM=unknown" for unfathomable reasons
@ -648,6 +650,8 @@ set_tests_properties(ncpp_build ncpp_build_exceptions rgb rgbbg
PROPERTIES RUN_SERIAL TRUE
)
endif()
else()
list(FILTER MANSOURCE1 EXCLUDE REGEX "notcurses-tester.1.md")
endif()
# Pandoc documentation (man pages, HTML reference)

Loading…
Cancel
Save