Changeset 19278 for trunk/FACT++


Ignore:
Timestamp:
10/22/18 22:29:30 (6 years ago)
Author:
tbretz
Message:
Improvements to groff-stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/CMakeLists.txt

    r19277 r19278  
    7878
    7979# ========== executables ==========
    80 FIND_PROGRAM(HELP2MAN_EXECUTABLE help2man)
    81 FIND_PROGRAM(ROFFHTML_EXECUTABLE roff2html)
    82 FIND_PROGRAM(ROFFPDF_EXECUTABLE  roff2pdf)
    83 FIND_PROGRAM(GROFF_EXECUTABLE    groff)
     80FIND_PROGRAM(HELP2MAN_EXECUTABLE  help2man)
     81FIND_PROGRAM(ROFF2HTML_EXECUTABLE roff2html)
     82FIND_PROGRAM(ROFF2PDF_EXECUTABLE  roff2pdf)
     83FIND_PROGRAM(GROFF_EXECUTABLE     groff)
    8484
    8585FIND_PACKAGE_HANDLE_STANDARD_ARGS(help2man  DEFAULT_MSG HELP2MAN_EXECUTABLE)
    86 FIND_PACKAGE_HANDLE_STANDARD_ARGS(roff2html DEFAULT_MSG ROFFHTML_EXECUTABLE)
    87 FIND_PACKAGE_HANDLE_STANDARD_ARGS(roff2pdf  DEFAULT_MSG ROFFPDF_EXECUTABLE)
     86FIND_PACKAGE_HANDLE_STANDARD_ARGS(roff2html DEFAULT_MSG ROFF2HTML_EXECUTABLE)
     87FIND_PACKAGE_HANDLE_STANDARD_ARGS(roff2pdf  DEFAULT_MSG ROFF2PDF_EXECUTABLE)
    8888FIND_PACKAGE_HANDLE_STANDARD_ARGS(groff     DEFAULT_MSG GROFF_EXECUTABLE)
     89
     90IF (NOT HELP2MAN_EXECUTABLE OR NOT ROFF2HTML_EXECUTABLE OR NOT ROFF2PDF_EXECUTABLE OR NOT GROFF_EXECUTABLE)
     91MESSAGE(STATUS "Documentation turned off (some executables missing).")
     92ENDIF()
    8993
    9094IF (NOT TOOLS_ONLY)
     
    432436MACRO(MANPAGE program description)
    433437# https://samthursfield.wordpress.com/2015/11/21/cmake-dependencies-between-targets-and-files-and-custom-commands/
    434 IF (HELP2MAN_EXECUTABLE AND ROFFHTML_EXECUTABLE AND ROFFPDF_EXECUTABLE AND GROFF_EXECUTABLE)
     438IF (HELP2MAN_EXECUTABLE AND ROFF2HTML_EXECUTABLE AND ROFF2PDF_EXECUTABLE AND GROFF_EXECUTABLE)
    435439        ADD_CUSTOM_COMMAND(
    436440                OUTPUT
Note: See TracChangeset for help on using the changeset viewer.