From owner-freebsd-ports@FreeBSD.ORG Sat Sep 27 22:20:16 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6847072E; Sat, 27 Sep 2014 22:20:16 +0000 (UTC) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D31F9D7; Sat, 27 Sep 2014 22:20:16 +0000 (UTC) Received: by mail-ig0-f177.google.com with SMTP id h3so1413425igd.16 for ; Sat, 27 Sep 2014 15:20:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z4REeVoArDhh2mmQRkOoFj2guEt6Rt2VSiSnpoxm4xk=; b=lKUNMa6aPR8OviY+A3a8+xeDdLyMNHyIL0u61iVqOonPKpoaXOdKbMorVfUDb3ccFt KRlobgXljpo/bqe3lrDqCLkksxhcqiFJLG2a1mE0OIn/qrjdvghd5VyhOc0gbm0tRHqR jeUk/353jJJ6/STk+vrHzll4e0Gxw/ylocobiqu70drz3pTOrqQj7TNReBo84Ws8sRJs 96bK88qclKrYEGC0Jx3n0paGE6n60vPuNySx0OAQwK3+TFU0hZgeIzjmqOyzb/uPMqqn fE2T43r0aFOl3HV2S5yGX4x4fPPywPLLEFe5EHMt5j4TeYAWvQw/I7LIHI1Yi/+5GGKK XUEg== MIME-Version: 1.0 X-Received: by 10.50.25.65 with SMTP id a1mr23921846igg.3.1411856415523; Sat, 27 Sep 2014 15:20:15 -0700 (PDT) Received: by 10.64.134.136 with HTTP; Sat, 27 Sep 2014 15:20:15 -0700 (PDT) Received: by 10.64.134.136 with HTTP; Sat, 27 Sep 2014 15:20:15 -0700 (PDT) In-Reply-To: <63E602006A4E041580E28750@atuin.in.mat.cc> References: <63E602006A4E041580E28750@atuin.in.mat.cc> Date: Sun, 28 Sep 2014 00:20:15 +0200 Message-ID: Subject: Re: On Docs option and custom build target From: =?UTF-8?Q?Fernando_Apestegu=C3=ADa?= To: Mathieu Arnold Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Mailing List 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: Sat, 27 Sep 2014 22:20:16 -0000 El 26/09/2014 08:40, "Mathieu Arnold" escribi=C3=B3: > > +--On 23 septembre 2014 23:23:31 +0200 Fernando Apestegu=C3=ADa > 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