Skip to content

Commit

Permalink
configure, doc: Added ADOCFLAGS.
Browse files Browse the repository at this point in the history
This allows the user to specify additional flags for AsciiDoc.
  • Loading branch information
tokkee committed May 26, 2014
1 parent 125e7cf commit 8daedbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions configure.ac
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion doc/Makefile.am
Expand Up @@ -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

Expand Down

0 comments on commit 8daedbb

Please sign in to comment.