From: Sebastian Harl Date: Mon, 26 May 2014 07:44:21 +0000 (+0200) Subject: configure, doc: Added ADOCFLAGS. X-Git-Tag: sysdb-0.1.0~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8daedbbd0a5af01c7ec996eb5d1ac61345a858d9;p=sysdb.git configure, doc: Added ADOCFLAGS. This allows the user to specify additional flags for AsciiDoc. --- diff --git a/configure.ac b/configure.ac index 849223c..a152b7b 100644 --- a/configure.ac +++ b/configure.ac @@ -390,6 +390,8 @@ if test "x$ASCIIDOC" = "x"; then fi AC_SUBST([ASCIIDOC]) +AC_ARG_VAR([ADOCFLAGS], [AsciiDoc flags]) + integration_tests="yes" AC_PATH_PROG([VALGRIND], [valgrind]) if test "x$VALGRIND" = "x"; then diff --git a/doc/Makefile.am b/doc/Makefile.am index a50754d..683dd38 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -74,7 +74,8 @@ html_DATA = \ ADOC_FLAGS = \ -f$(srcdir)/asciidoc.conf \ -apackage_version=$(PACKAGE_VERSION) \ - -alocalstatedir=$(localstatedir) + -alocalstatedir=$(localstatedir) \ + $(ADOCFLAGS) # XXX: Make asciidoc use this stylesheet HTML_ATTRS = --stylesheet=$(srcdir)/sysdb-man.css