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

This commit is contained in:
nick black 2021-06-25 14:40:22 -04:00
parent 2f24e221f3
commit b425771bce
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -616,6 +616,8 @@ add_test(
) )
set_tests_properties(notcurses-tester PROPERTIES RUN_SERIAL TRUE) set_tests_properties(notcurses-tester PROPERTIES RUN_SERIAL TRUE)
install(TARGETS notcurses-tester DESTINATION bin) install(TARGETS notcurses-tester DESTINATION bin)
else()
list(FILTER MANSOURCE1 EXCLUDE REGEX "notcurses-tester.1.md")
endif() endif()
enable_testing() enable_testing()
# the accursed Ubuntu buildd sets "TERM=unknown" for unfathomable reasons # 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 PROPERTIES RUN_SERIAL TRUE
) )
endif() endif()
else()
list(FILTER MANSOURCE1 EXCLUDE REGEX "notcurses-tester.1.md")
endif() endif()
# Pandoc documentation (man pages, HTML reference) # Pandoc documentation (man pages, HTML reference)