1
0
Fork 0

[python3] python3 for asciidoc

This commit is contained in:
Witold Filipczyk 2020-01-04 20:12:34 +01:00
parent 0eaf9526bb
commit 5967eb93b4
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
host = @host@
ASCIIDOC = @PYTHON@ $(top_srcdir)/doc/tools/asciidoc/asciidoc.py
ASCIIDOC = @PYTHON3@ $(top_srcdir)/doc/tools/asciidoc/asciidoc.py
ASCIIDOC_FLAGS = --unsafe
AWK = @AWK@
CATALOGS = @CATALOGS@

View File

@ -77,8 +77,8 @@ CONFIG_XMLTO="no"
CONFIG_JW="no"
if test "x$CONFIG_DOC" != xno; then
AC_PATH_PROGS(PYTHON, "python")
if test "x$PYTHON" != "x"; then
AC_PATH_PROGS(PYTHON3, "python3")
if test "x$PYTHON3" != "x"; then
EL_CONFIG(CONFIG_ASCIIDOC, [AsciiDoc])
EL_CONFIG(MANUAL_ASCIIDOC, [HTML (one file)])
EL_CONFIG(MAN_ASCIIDOC, [HTML])