diff options
author | Brad King <brad.king@kitware.com> | 2009-10-05 14:28:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-10-05 14:28:05 (GMT) |
commit | 282b4e3776e0d49907f7fe21ec43f58a76ba714a (patch) | |
tree | 45c0917307a45b4a3ba5cadeae88e25814da018c /Modules/FindFLEX.cmake | |
parent | 451d68b7e3a2fab3db211e77832e9a2d3a76cdb2 (diff) | |
download | CMake-282b4e3776e0d49907f7fe21ec43f58a76ba714a.zip CMake-282b4e3776e0d49907f7fe21ec43f58a76ba714a.tar.gz CMake-282b4e3776e0d49907f7fe21ec43f58a76ba714a.tar.bz2 |
Fix module docs to be manpage (groff) friendly
Most problems are fixed (or rather worked-around) by making long '====='
separators pre-formatted (i.e. prefixed with two spaces). In order to
preserve visual view, the code examples themselves are prefixed with 3
spaces.
This commit fixes the following man warnings:
$ cmake --help-man - | LANG=C MANWIDTH=80 man --warnings -l - > /dev/null
<standard input>:6024: warning [p 105, 1.7i]: can't break line
<standard input>:6027: warning [p 105, 2.7i]: cannot adjust line
<standard input>:6027: warning [p 105, 2.8i]: can't break line
<standard input>:7142: warning [p 117, 7.8i]: can't break line
<standard input>:7171: warning [p 117, 11.8i]: can't break line
<standard input>:8878: warning [p 136, 9.0i]: can't break line
<standard input>:8887: warning [p 136, 11.5i]: cannot adjust line
<standard input>:8887: warning [p 136, 11.7i]: can't break line
<standard input>:8904: warning [p 136, 14.2i]: can't break line
Patch from Modestas Vainius. See issue #9659.
Diffstat (limited to 'Modules/FindFLEX.cmake')
-rw-r--r-- | Modules/FindFLEX.cmake | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Modules/FindFLEX.cmake b/Modules/FindFLEX.cmake index b9df065..068ee75 100644 --- a/Modules/FindFLEX.cmake +++ b/Modules/FindFLEX.cmake @@ -26,23 +26,23 @@ # where <FlexTarget> and <BisonTarget> are the first parameters of # respectively FLEX_TARGET and BISON_TARGET macros. # -#==================================================================== -# Example: +# ==================================================================== +# Example: # -# find_package(BISON) -# find_package(FLEX) +# find_package(BISON) +# find_package(FLEX) # -# BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp -# FLEX_TARGET(MyScanner lexer.l ${CMAKE_CURRENT_BIANRY_DIR}/lexer.cpp) -# ADD_FLEX_BISON_DEPENDENCY(MyScanner MyParser) +# BISON_TARGET(MyParser parser.y ${CMAKE_CURRENT_BINARY_DIR}/parser.cpp +# FLEX_TARGET(MyScanner lexer.l ${CMAKE_CURRENT_BIANRY_DIR}/lexer.cpp) +# ADD_FLEX_BISON_DEPENDENCY(MyScanner MyParser) # -# include_directories(${CMAKE_CURRENT_BINARY_DIR}) -# add_executable(Foo -# Foo.cc -# ${BISON_MyParser_OUTPUTS} -# ${FLEX_MyScanner_OUTPUTS} -# ) -#==================================================================== +# include_directories(${CMAKE_CURRENT_BINARY_DIR}) +# add_executable(Foo +# Foo.cc +# ${BISON_MyParser_OUTPUTS} +# ${FLEX_MyScanner_OUTPUTS} +# ) +# ==================================================================== #============================================================================= # Copyright 2009 Kitware, Inc. |