From patchwork Wed Aug 15 17:32:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Verma, Vishal L" X-Patchwork-Id: 10566727 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 48A0B13B6 for ; Wed, 15 Aug 2018 17:32:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 26A442AA36 for ; Wed, 15 Aug 2018 17:32:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1A61E2AA60; Wed, 15 Aug 2018 17:32:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 037722AA36 for ; Wed, 15 Aug 2018 17:32:25 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 36241210F257B; Wed, 15 Aug 2018 10:32:25 -0700 (PDT) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.115; helo=mga14.intel.com; envelope-from=vishal.l.verma@intel.com; receiver=linux-nvdimm@lists.01.org Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CB53E210EB11F for ; Wed, 15 Aug 2018 10:32:23 -0700 (PDT) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2018 10:32:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,243,1531810800"; d="scan'208";a="72975129" Received: from vverma7-desk1.lm.intel.com ([10.232.112.133]) by FMSMGA003.fm.intel.com with ESMTP; 15 Aug 2018 10:32:22 -0700 From: Vishal Verma To: Subject: [ndctl PATCH v2] ndctl, docs: Use asciidoctor by default Date: Wed, 15 Aug 2018 11:32:18 -0600 Message-Id: <20180815173218.11423-1-vishal.l.verma@intel.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180814230555.3498-3-vishal.l.verma@intel.com> References: <20180814230555.3498-3-vishal.l.verma@intel.com> X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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