Compare commits
2 Commits
66370387bc
...
4d50ed111a
| Author | SHA1 | Date | |
|---|---|---|---|
|
4d50ed111a
|
|||
|
e15c9cba43
|
@@ -234,7 +234,8 @@ install (DIRECTORY plugins/xC/
|
|||||||
find_program (ASCIIDOCTOR_EXECUTABLE asciidoctor)
|
find_program (ASCIIDOCTOR_EXECUTABLE asciidoctor)
|
||||||
find_program (A2X_EXECUTABLE a2x)
|
find_program (A2X_EXECUTABLE a2x)
|
||||||
if (NOT ASCIIDOCTOR_EXECUTABLE AND NOT A2X_EXECUTABLE)
|
if (NOT ASCIIDOCTOR_EXECUTABLE AND NOT A2X_EXECUTABLE)
|
||||||
message (FATAL_ERROR "Neither asciidoctor nor a2x were found")
|
message (WARNING "Neither asciidoctor nor a2x were found, "
|
||||||
|
"falling back to a substandard manual page generator")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
foreach (page xB xC xD)
|
foreach (page xB xC xD)
|
||||||
@@ -256,6 +257,13 @@ foreach (page xB xC xD)
|
|||||||
"${PROJECT_SOURCE_DIR}/${page}.adoc"
|
"${PROJECT_SOURCE_DIR}/${page}.adoc"
|
||||||
DEPENDS ${page}.adoc
|
DEPENDS ${page}.adoc
|
||||||
COMMENT "Generating man page for ${page}" VERBATIM)
|
COMMENT "Generating man page for ${page}" VERBATIM)
|
||||||
|
else ()
|
||||||
|
set (ASCIIMAN ${PROJECT_SOURCE_DIR}/liberty/tools/asciiman.awk)
|
||||||
|
add_custom_command (OUTPUT ${page_output}
|
||||||
|
COMMAND env LC_ALL=C awk -f ${ASCIIMAN}
|
||||||
|
"${PROJECT_SOURCE_DIR}/${page}.adoc" > ${page_output}
|
||||||
|
DEPENDS ${page}.adoc ${ASCIIMAN}
|
||||||
|
COMMENT "Generating man page for ${page}" VERBATIM)
|
||||||
endif ()
|
endif ()
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
|
|||||||
@@ -68,8 +68,8 @@ a package with the latest development version from Archlinux's AUR.
|
|||||||
|
|
||||||
Building
|
Building
|
||||||
--------
|
--------
|
||||||
Build-only dependencies:
|
Build-only dependencies: CMake, pkg-config, awk, liberty (included),
|
||||||
CMake, pkg-config, asciidoctor or asciidoc, awk, liberty (included) +
|
asciidoctor or asciidoc (recommended but optional) +
|
||||||
Common runtime dependencies: openssl +
|
Common runtime dependencies: openssl +
|
||||||
Additionally for 'xC': curses, libffi, readline >= 6.0 or libedit >= 2013-07-12,
|
Additionally for 'xC': curses, libffi, readline >= 6.0 or libedit >= 2013-07-12,
|
||||||
lua >= 5.3 (optional) +
|
lua >= 5.3 (optional) +
|
||||||
|
|||||||
2
liberty
2
liberty
Submodule liberty updated: 22a121383f...34460ca715
@@ -82,7 +82,7 @@ button {
|
|||||||
padding: 0 .3em;
|
padding: 0 .3em;
|
||||||
}
|
}
|
||||||
button:focus {
|
button:focus {
|
||||||
border: 1px dashed #000;
|
border: 1px dotted #000;
|
||||||
}
|
}
|
||||||
button:hover {
|
button:hover {
|
||||||
border-left: 1px solid #fff;
|
border-left: 1px solid #fff;
|
||||||
|
|||||||
Reference in New Issue
Block a user