add_custom_target(mans DEPENDS manpages)
if(ZZIP_MANPAGES)
-add_custom_target(man ALL DEPENDS manpages)
+add_custom_target(man ALL DEPENDS manpages.tar COMMAND ${BASH} -c "ls -l manpages.tar")
else()
-add_custom_target(man DEPENDS manpages)
+add_custom_target(man DEPENDS manpages.tar COMMAND ${BASH} -c "ls -l manpages.tar")
endif()
if(ZZIP_HTMPAGES)
-add_custom_target(htm ALL DEPENDS htmpages)
+add_custom_target(htm ALL DEPENDS htmpages.tar COMMAND ${BASH} -c "ls -l htmpages.tar")
else()
-add_custom_target(htm DEPENDS htmpages)
+add_custom_target(htm DEPENDS htmpages.tar COMMAND ${BASH} -c "ls -l htmpages.tar")
endif()
# install ########################################################
VERBATIM)
if(ZZIP_HTMPAGES)
install(CODE "message(STATUS \"Installing: html pages to ${docdir}/man\")")
- install(DIRECTORY html/ DESTINATION ${docdir}/man MESSAGE_NEVER)
+ install(DIRECTORY ${outdir}/html/ DESTINATION ${docdir}/man MESSAGE_NEVER)
endif()
if(ZZIP_MANPAGES)
install(CODE "message(STATUS \"Installing: man3 pages to ${mandir}/man3\")")
- install(DIRECTORY man3/ DESTINATION ${mandir}/man3 MESSAGE_NEVER)
+ install(DIRECTORY ${outdir}/man3/ DESTINATION ${mandir}/man3 MESSAGE_NEVER)
endif()
add_custom_target(install-docs DEPENDS install-manpages install-htmpages install-site)
add_custom_target(install-mans DEPENDS install-manpages)