From patchwork Tue Jul 17 05:25:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Bokovoy X-Patchwork-Id: 10528137 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A23BB601D2 for ; Tue, 17 Jul 2018 05:55:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88B8628925 for ; Tue, 17 Jul 2018 05:55:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7D0D328B61; Tue, 17 Jul 2018 05:55:21 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_TVD_MIME_EPI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8B0C28925 for ; Tue, 17 Jul 2018 05:55:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727350AbeGQG0K (ORCPT ); Tue, 17 Jul 2018 02:26:10 -0400 Received: from hr2.samba.org ([144.76.82.148]:18174 "EHLO hr2.samba.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727293AbeGQG0K (ORCPT ); Tue, 17 Jul 2018 02:26:10 -0400 X-Greylist: delayed 1768 seconds by postgrey-1.27 at vger.kernel.org; Tue, 17 Jul 2018 02:26:09 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=samba.org; s=42627210; h=Message-ID:To:From:Date:CC; bh=3Vy3pznqq3Iuu/FgFNU8j7rBHEiOKTr8kBfA+fEHJE0=; b=gEDDLtLWn+rJckCmc3NpeY3jPn D8P5pCJLOLeWEx7/nxTsZJ7sLCcgf1t2T8q9yNwaMg2HqxeGd2MyuvNZT+Q1sHlsXp+jhcUricG4J 9+9ByAuxZdEIGJVjgciMpnnSqrVoOAmY9pZcbTiy9FIoXrp7l7VPtLr3nbgPbCR6kUtw=; Received: from [127.0.0.2] (localhost [127.0.0.1]) by hr2.samba.org with esmtpsa (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim) id 1ffIUj-00032p-Vi for linux-cifs@vger.kernel.org; Tue, 17 Jul 2018 05:25:54 +0000 Date: Tue, 17 Jul 2018 08:25:50 +0300 From: Alexander Bokovoy To: linux-cifs@vger.kernel.org Subject: [PATCH] cifs-utils: support rst2man-3 Message-ID: <20180717052550.GA11106@onega.vda.li> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, Python 3 version of rst2man utility is called rst2man-3. On systems without python 2 bits rst2man is not found. This patch adds support for rst2man-3 so that man pages can still be created. diff --git a/configure.ac b/configure.ac index b0bc2b9..26d60ea 100644 --- a/configure.ac +++ b/configure.ac @@ -252,7 +252,7 @@ fi # if docs are not disabled, check if rst2man is available if test $enable_man != "no"; then - AC_CHECK_PROG(have_rst2man, rst2man, yes, no) + AC_CHECK_PROGS(have_rst2man, rst2man-3 rst2man, no) if test $have_rst2man = "no"; then if test $enable_man = "yes"; then AC_MSG_ERROR([rst2man not found: cannot generate man pages, consider installing perl.])