Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2014 00:20:15 +0200
From:      =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= <fernando.apesteguia@gmail.com>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: On Docs option and custom build target
Message-ID:  <CAGwOe2Z%2BZcmszsYiYMdi0dtu0UmR9R5ukFQK8-vi%2Btg8ozEYOQ@mail.gmail.com>
In-Reply-To: <63E602006A4E041580E28750@atuin.in.mat.cc>
References:  <CAGwOe2aJWSNnG8YBuBpxjtE7S_bN5NkWwaiKWDmQzJmWMQUDoQ@mail.gmail.com> <63E602006A4E041580E28750@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
El 26/09/2014 08:40, "Mathieu Arnold" <mat@freebsd.org> escribi=C3=B3:
>
> +--On 23 septembre 2014 23:23:31 +0200 Fernando Apestegu=C3=ADa
> <fernando.apesteguia@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=3D     all
> DOCS_ALL_TARGET=3D        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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2Z%2BZcmszsYiYMdi0dtu0UmR9R5ukFQK8-vi%2Btg8ozEYOQ>