From: Tedd Ho-Jeong An <hj.tedd.an@gmail.com>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: "linux-bluetooth@vger.kernel.org" <linux-bluetooth@vger.kernel.org>
Subject: Re: [BlueZ PATCH] config: Show error if rst2man not found when manpages are enabled
Date: Tue, 11 May 2021 11:24:26 -0700 [thread overview]
Message-ID: <b472ff1236cd1f0216af325ea4cd58dc7b562ae1.camel@gmail.com> (raw)
In-Reply-To: <CABBYNZKMHFVD7Z8oKOs3W-QusezCmjbZAeZn98NHVYz2YdfdEQ@mail.gmail.com>
Hi Luiz,
On Tue, 2021-05-11 at 11:07 -0700, Luiz Augusto von Dentz wrote:
> Hi Tedd,
>
> On Tue, May 11, 2021 at 11:02 AM Tedd Ho-Jeong An <hj.tedd.an@gmail.com> wrote:
> > From: Tedd Ho-Jeong An <tedd.an@intel.com>
> >
> > This patch adds a check if the conversion tool is installed when the
> > manpages is enabled, and show error if it is not installed.
> > ---
> > configure.ac | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/configure.ac b/configure.ac
> > index f445589b0..2b044f8e5 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -328,6 +328,9 @@ AC_ARG_ENABLE(manpages, AC_HELP_STRING([--enable-manpages],
> > [enable_manpages=${enableval}])
> > if (test "${enable_manpages}" != "no"); then
> > AC_CHECK_PROGS(RST2MAN, [rst2man rst2man.py], "no")
> > + if (test "${RST2MAN}" = "no" ); then
> > + AC_MSG_ERROR([rst2man is required])
>
> I guess we can mention that it is typically packaged with
> python-docutils e.g: rstman is required: install python-docutils or
> alternatively we check python-docutils with pkgconfig since it will be
> a hard dependency anyway.
Just to keep the consistency with other errors in configure.ac, I think it is better to say
like it instead of mentioning the package name.
Also, there is a python3-docutils and python-docutils depending on the python version
that user is using. So it may confuse the user, and the package name may different
for other distros (I didn't check though...).
>
> > + fi
> > fi
> > AM_CONDITIONAL(MANPAGES, test "${enable_manpages}" = "yes")
> > AM_CONDITIONAL(RUN_RST2MAN, test "${enable_manpages}" = "yes" && test "${RST2MAN}" != "no")
> > --
> > 2.26.3
> >
>
>
next prev parent reply other threads:[~2021-05-11 18:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-11 17:58 [BlueZ PATCH] config: Show error if rst2man not found when manpages are enabled Tedd Ho-Jeong An
2021-05-11 18:07 ` Luiz Augusto von Dentz
2021-05-11 18:24 ` Tedd Ho-Jeong An [this message]
2021-05-11 18:54 ` [BlueZ] " bluez.test.bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b472ff1236cd1f0216af325ea4cd58dc7b562ae1.camel@gmail.com \
--to=hj.tedd.an@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.