diff mbox series

[ndctl,v2] ndctl, docs: Use asciidoctor by default

Message ID 20180815173218.11423-1-vishal.l.verma@intel.com (mailing list archive)
State New, archived
Headers show
Series [ndctl,v2] ndctl, docs: Use asciidoctor by default | expand

Commit Message

Verma, Vishal L Aug. 15, 2018, 5:32 p.m. UTC
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 <vishal.l.verma@intel.com>
---
 configure.ac  | 2 +-
 ndctl.spec.in | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

v2: update the build dependency in the spec file
diff mbox series

Patch

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