22.05.2014 1:36 пользователь "frantisek holop" <min...@obiit.org> написал:
>
>
> here is a diff for including docs with beets.
> call me stupid but i need the docs at least
> until i get started with it :)
>
> sigh.  more and more gmake-isms creeping into
> sphinx's makefile.
>
> is there a way to make this cross-make functioning?
> i'd try to push it upstream...
>
> # When both are available, use Sphinx 2.x for autodoc compatibility.
> ifeq ($(shell which sphinx-build2 >/dev/null 2>&1 ; echo $$?),0)
>         SPHINXBUILD = sphinx-build2
> endif

I'm not ready to talk about port itself, but have to note that most
portable way is not "which" but "command -v".

> another alternative would be calling /usr/local/bin/sphinx-build ...
>
> -f
> --
> often the test of courage is not to die but to live.

Reply via email to