The asciidoc built documentation has several formatting artifacts (e.g.
Using asciidoctor for the build fixes this, so switch to it as the
default. This can still be disabled during configure using
"--disable-asciidoctor"

Signed-off-by: Vishal Verma <[email protected]>
---
 configure.ac  | 2 +-
 ndctl.spec.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

v2: update the build dependency in the spec file

diff --git a/configure.ac b/configure.ac
index 00178bb..7bfe5a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -45,7 +45,7 @@ AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"])
 AC_ARG_ENABLE([asciidoctor],
        AS_HELP_STRING([--enable-asciidoctor],
        [use asciidoctor for documentation build]),
-       [], enable_asciidoctor=no)
+       [], enable_asciidoctor=yes)
 AM_CONDITIONAL([USE_ASCIIDOCTOR], [test "x$enable_asciidoctor" = "xyes"])
 if test "x$enable_asciidoctor" = "xyes"; then
        asciidoc="asciidoctor"
diff --git a/ndctl.spec.in b/ndctl.spec.in
index 062aafb..b782aea 100644
--- a/ndctl.spec.in
+++ b/ndctl.spec.in
@@ -10,7 +10,7 @@ Source0:      
https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{v
 Requires:      LNAME%{?_isa} = %{version}-%{release}
 Requires:      DAX_LNAME%{?_isa} = %{version}-%{release}
 BuildRequires: autoconf
-BuildRequires: asciidoc
+BuildRequires: rubygem-asciidoctor
 BuildRequires: xmlto
 BuildRequires: automake
 BuildRequires: libtool
-- 
2.14.4

_______________________________________________
Linux-nvdimm mailing list
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to