Commit b35caa6c authored by Owen W. Taylor's avatar Owen W. Taylor
Browse files

Fix building without asciidoc

The conditional check for asciidoc wasn't working correctly - it was not
set correctly and the conditional was actually used in doc/Makefile.am.
parent a7f7867e
......@@ -27,7 +27,7 @@ PKG_CHECK_MODULES([APPLICATION], [$base_packages $x_packages gtk+-3.0 json-glib-
AC_PATH_PROG(ASCIIDOC, asciidoc, "")
AC_PATH_PROG(XMLTO, xmlto, "")
AM_CONDITIONAL(BUILD_DOCS, [ ASCIIDOC != x -a XMLTO != x ])
AM_CONDITIONAL(BUILD_DOCS, [ test $ASCIIDOC != x -a $XMLTO != x ])
GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
AC_SUBST(GLIB_COMPILE_RESOURCES)
......
CLEANFILES =
EXTRA_DIST =
if BUILD_DOCS
man1_MANS = gbb.1
endif
EXTRA_DIST += asciidoc.conf gbb.txt
CLEANFILES += gbb.html gbb.1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment