From owner-freebsd-ports@FreeBSD.ORG Fri Sep 26 06:40:35 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 243D49C0 for ; Fri, 26 Sep 2014 06:40:35 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "plouf.absolight.net", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DC6FE274 for ; Fri, 26 Sep 2014 06:40:34 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 3FA3ABDC6B; Fri, 26 Sep 2014 08:40:33 +0200 (CEST) Received: from atuin.in.mat.cc (unknown [213.222.32.10]) by prod2.absolight.net (Postfix) with ESMTPA id C9FC2BDC65; Fri, 26 Sep 2014 08:40:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by atuin.in.mat.cc (Postfix) with ESMTP id E2DDB14CBE68; Fri, 26 Sep 2014 09:40:30 +0300 (EEST) Date: Fri, 26 Sep 2014 09:40:30 +0200 From: Mathieu Arnold To: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= , FreeBSD Mailing List Subject: Re: On Docs option and custom build target Message-ID: <63E602006A4E041580E28750@atuin.in.mat.cc> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 06:40:35 -0000 +--On 23 septembre 2014 23:23:31 +0200 Fernando Apestegu=C3=ADa wrote: |=20 | do-build: | @cd ${BUILD_WRKSRC}/ && ${MAKE} | .if ${PORT_OPTIONS:MDOCS} | @cd ${BUILD_WRKSRC}/ && ${MAKE_CMD} doc | .endif |=20 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 --=20 Mathieu Arnold