On Docs option and custom build target

Fernando Apesteguía fernando.apesteguia at gmail.com
Sat Sep 27 22:20:16 UTC 2014


El 26/09/2014 08:40, "Mathieu Arnold" <mat at freebsd.org> escribió:
>
> +--On 23 septembre 2014 23:23:31 +0200 Fernando Apesteguía
> <fernando.apesteguia at gmail.com> wrote:
> |
> | do-build:
> |         @cd ${BUILD_WRKSRC}/ && ${MAKE}
> | .if ${PORT_OPTIONS:MDOCS}
> |         @cd ${BUILD_WRKSRC}/ && ${MAKE_CMD} doc
> | .endif
> |
>
> That should be:
>
> ALL_TARGET=     all
> DOCS_ALL_TARGET=        doc
>
> And then you don't need to include port.options.mk.
>
> As explained in
> <
https://www.freebsd.org/doc/en/books/porters-handbook/makefile-options.html#options-variables
>
>

Changed. Thanks!

> --
> Mathieu Arnold


More information about the freebsd-ports mailing list