Code

configure, doc: Added ADOCFLAGS.
authorSebastian Harl <sh@tokkee.org>
Mon, 26 May 2014 07:44:21 +0000 (09:44 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 26 May 2014 07:44:21 +0000 (09:44 +0200)
This allows the user to specify additional flags for AsciiDoc.

configure.ac
doc/Makefile.am

index 849223c82e4e4622b2dccf727d6c86038c7a27d6..a152b7bf766815c16c2174111573148aaad7fcd6 100644 (file)
@@ -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
index a50754d924d969625d51812a9deb9eea40c064c9..683dd38de0cf48bae44b23ce8ad9dff8dee9db43 100644 (file)
@@ -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