Re: Makefile.sphinx:17: The 'sphinx-build' command was not found

2016-08-01 Thread Jani Nikula
On Fri, 29 Jul 2016, Jonathan Corbet  wrote:
> On Thu, 28 Jul 2016 15:05:07 -0700 (PDT)
> Christian Kujau  wrote:
>
>> Indeed, I don't have "sphinx-build" installed (nor do I want to build 
>> documentation), running "make SPHINXBUILD=/bin/true help" makes the 
>> warning go away. Is there a way to omit the warning when 
>> running "make help"? E.g. by not including Documentation/Makefile.sphinx 
>> for that target?
>
> That seems like a reasonable request, we'll make it happen.

I think we should still display the help (without warnings!) even if the
tool is not available. Patch follows.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


Re: Makefile.sphinx:17: The 'sphinx-build' command was not found

2016-08-01 Thread Jani Nikula
On Fri, 29 Jul 2016, Jonathan Corbet  wrote:
> On Thu, 28 Jul 2016 15:05:07 -0700 (PDT)
> Christian Kujau  wrote:
>
>> Indeed, I don't have "sphinx-build" installed (nor do I want to build 
>> documentation), running "make SPHINXBUILD=/bin/true help" makes the 
>> warning go away. Is there a way to omit the warning when 
>> running "make help"? E.g. by not including Documentation/Makefile.sphinx 
>> for that target?
>
> That seems like a reasonable request, we'll make it happen.

I think we should still display the help (without warnings!) even if the
tool is not available. Patch follows.

BR,
Jani.


-- 
Jani Nikula, Intel Open Source Technology Center


Re: Makefile.sphinx:17: The 'sphinx-build' command was not found

2016-07-29 Thread Jonathan Corbet
On Thu, 28 Jul 2016 15:05:07 -0700 (PDT)
Christian Kujau  wrote:

> Indeed, I don't have "sphinx-build" installed (nor do I want to build 
> documentation), running "make SPHINXBUILD=/bin/true help" makes the 
> warning go away. Is there a way to omit the warning when 
> running "make help"? E.g. by not including Documentation/Makefile.sphinx 
> for that target?

That seems like a reasonable request, we'll make it happen.

Thanks,

jon


Re: Makefile.sphinx:17: The 'sphinx-build' command was not found

2016-07-29 Thread Jonathan Corbet
On Thu, 28 Jul 2016 15:05:07 -0700 (PDT)
Christian Kujau  wrote:

> Indeed, I don't have "sphinx-build" installed (nor do I want to build 
> documentation), running "make SPHINXBUILD=/bin/true help" makes the 
> warning go away. Is there a way to omit the warning when 
> running "make help"? E.g. by not including Documentation/Makefile.sphinx 
> for that target?

That seems like a reasonable request, we'll make it happen.

Thanks,

jon


Makefile.sphinx:17: The 'sphinx-build' command was not found

2016-07-28 Thread Christian Kujau
Hi,

since 22cba31bae ("Documentation/sphinx: add basic working Sphinx 
configuration and build") the following warning is emitted when running 
"make help":

$ make help > /dev/null 
Documentation/Makefile.sphinx:17: The 'sphinx-build' command was not 
found. Make sure you have Sphinx installed and in PATH, or set the 
SPHINXBUILD make variable to point to the full path of the 'sphinx-build' 
executable.

Indeed, I don't have "sphinx-build" installed (nor do I want to build 
documentation), running "make SPHINXBUILD=/bin/true help" makes the 
warning go away. Is there a way to omit the warning when 
running "make help"? E.g. by not including Documentation/Makefile.sphinx 
for that target?

Thanks,
Christian.
-- 
BOFH excuse #296:

The hardware bus needs a new token.


Makefile.sphinx:17: The 'sphinx-build' command was not found

2016-07-28 Thread Christian Kujau
Hi,

since 22cba31bae ("Documentation/sphinx: add basic working Sphinx 
configuration and build") the following warning is emitted when running 
"make help":

$ make help > /dev/null 
Documentation/Makefile.sphinx:17: The 'sphinx-build' command was not 
found. Make sure you have Sphinx installed and in PATH, or set the 
SPHINXBUILD make variable to point to the full path of the 'sphinx-build' 
executable.

Indeed, I don't have "sphinx-build" installed (nor do I want to build 
documentation), running "make SPHINXBUILD=/bin/true help" makes the 
warning go away. Is there a way to omit the warning when 
running "make help"? E.g. by not including Documentation/Makefile.sphinx 
for that target?

Thanks,
Christian.
-- 
BOFH excuse #296:

The hardware bus needs a new token.