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: 944743 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-cifs-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=samba.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; secure) header.d=samba.org header.i=@samba.org header.b="gEDDLtLW"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 41V8dN5XV3z9rxs for ; Tue, 17 Jul 2018 15:55:20 +1000 (AEST) 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 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. Reviewed-by: Aurelien Aptel 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.])