On 2019/11/07 18:27, Paco Esteban wrote:
> I have question regarding the new man pages generation.  They use
> a (gnu)make target with some variables pointing to sphinx executables.
> On OpenBSD those executables are called differently (they have the
> python flavor at the end).  I resolved that just passing the variables
> to gmake with the correct path of those files, is that the correct way
> to do it ? Do you suggest any other approach ?

> +post-build:
> +     @cd ${WRKSRC} && \
> +             gmake -C doc man \

set USE_GMAKE=Yes and change gmake -> ${MAKE_PROGRAM}

> +             SPHINXAPIDOC=/usr/local/bin/sphinx-build-3 \
> +             SPHINXBUILD=/usr/local/bin/sphinx-build-3

SPHINXAPIDOC=${LOCALBASE}/bin/sphinx-apidoc${MODPY_BIN_SUFFIX}
SPHINXBUILD=${LOCALBASE}/bin/sphinx-apidoc${MODPY_BIN_SUFFIX}

Reply via email to