man pages: fix install #213

This commit is contained in:
nick black 2019-12-27 08:20:48 -05:00
parent e05bde3d5a
commit 4ce774ba13
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 3 additions and 3 deletions

View File

@ -131,6 +131,7 @@ foreach(m ${MANSOURCE3})
ALL
DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${me}
)
set(MANPAGES3 ${MANPAGES3} ${CMAKE_CURRENT_BINARY_DIR}/${me})
endforeach()
endif()
@ -271,8 +272,6 @@ install(FILES
)
file(GLOB MANPAGES1 CONFIGURE_DEPENDS doc/man/man1/*.1)
# FIXME -- these won't exist until we've run through once, ack
file(GLOB MANPAGES3 CONFIGURE_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/*.3notcurses)
install(FILES
${MANPAGES1}
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1

View File

@ -52,4 +52,5 @@ Nick Black <nickblack@linux.com>
## SEE ALSO
notcurses-demo(1), ncurses(3NCURSES), terminfo(5)
notcurses-demo(1), notcurses_init(3notcurses), notcurses_stop(3notcurses),
ncurses(3NCURSES), terminfo(5)