Compare commits
2 Commits
d13b4a793d
...
2ed1c005c9
Author | SHA1 | Date | |
---|---|---|---|
2ed1c005c9 | |||
26e73711b1 |
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,3 +1,6 @@
|
|||||||
[submodule "termo"]
|
[submodule "termo"]
|
||||||
path = termo
|
path = termo
|
||||||
url = https://git.janouch.name/p/termo.git
|
url = https://git.janouch.name/p/termo.git
|
||||||
|
[submodule "liberty"]
|
||||||
|
path = liberty
|
||||||
|
url = https://git.janouch.name/p/liberty.git
|
||||||
|
@ -132,7 +132,8 @@ GETTEXT_CREATE_TRANSLATIONS (
|
|||||||
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 "${PROJECT_NAME}.1")
|
foreach (page "${PROJECT_NAME}.1")
|
||||||
@ -154,6 +155,14 @@ foreach (page "${PROJECT_NAME}.1")
|
|||||||
"${PROJECT_SOURCE_DIR}/docs/${page}.adoc"
|
"${PROJECT_SOURCE_DIR}/docs/${page}.adoc"
|
||||||
DEPENDS "docs/${page}.adoc"
|
DEPENDS "docs/${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 asciidoc-release-version=${PROJECT_VERSION}
|
||||||
|
awk -f ${ASCIIMAN} "${PROJECT_SOURCE_DIR}/docs/${page}.adoc"
|
||||||
|
> ${page_output}
|
||||||
|
DEPENDS "docs/${page}.adoc" ${ASCIIMAN}
|
||||||
|
COMMENT "Generating man page for ${page}" VERBATIM)
|
||||||
endif ()
|
endif ()
|
||||||
endforeach ()
|
endforeach ()
|
||||||
|
|
||||||
|
1
liberty
Submodule
1
liberty
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 29bf109a51951e9c6d94bd2fedffb405bead849c
|
@ -207,6 +207,10 @@ app_char_width (Application *app, gunichar c)
|
|||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
|
#if !GLIB_CHECK_VERSION(2, 68, 0)
|
||||||
|
#define g_memdup2 g_memdup
|
||||||
|
#endif
|
||||||
|
|
||||||
/// Splits the entry and adds it to a pointer array.
|
/// Splits the entry and adds it to a pointer array.
|
||||||
static void
|
static void
|
||||||
view_entry_split_add (ViewEntry *ve, const gchar *text, const chtype *attrs)
|
view_entry_split_add (ViewEntry *ve, const gchar *text, const chtype *attrs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user