summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 125e7cf)
raw | patch | inline | side by side (parent: 125e7cf)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 26 May 2014 07:44:21 +0000 (09:44 +0200) | ||
committer | Sebastian 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 | patch | blob | history | |
doc/Makefile.am | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 849223c82e4e4622b2dccf727d6c86038c7a27d6..a152b7bf766815c16c2174111573148aaad7fcd6 100644 (file)
--- a/configure.ac
+++ b/configure.ac
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 a50754d924d969625d51812a9deb9eea40c064c9..683dd38de0cf48bae44b23ce8ad9dff8dee9db43 100644 (file)
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
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