Re: On Docs option and custom build target

2014-09-27 Thread Fernando Apesteguía
El 26/09/2014 08:40, "Mathieu Arnold" escribió: > > +--On 23 septembre 2014 23:23:31 +0200 Fernando Apesteguía > wrote: > | > | do-build: > | @cd ${BUILD_WRKSRC}/ && ${MAKE} > | .if ${PORT_OPTIONS:MDOCS} > | @cd ${BUILD_WRKSRC}/ && ${MAKE_CMD} doc > | .endif > | > > That should be

Re: On Docs option and custom build target

2014-09-25 Thread Mathieu Arnold
+--On 23 septembre 2014 23:23:31 +0200 Fernando Apesteguía 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

Re: On Docs option and custom build target

2014-09-25 Thread Fernando Apesteguía
On Thu, Sep 25, 2014 at 12:06 PM, Tijl Coosemans wrote: > On Wed, 24 Sep 2014 23:54:19 +0200 Fernando Apesteguía > wrote: >> On Wed, Sep 24, 2014 at 8:52 PM, Tijl Coosemans wrote: >>> On Tue, 23 Sep 2014 23:23:31 +0200 Fernando Apesteguía >>> wrote: I have a Makefile for an application t

Re: On Docs option and custom build target

2014-09-25 Thread Tijl Coosemans
On Wed, 24 Sep 2014 23:54:19 +0200 Fernando Apesteguía wrote: > On Wed, Sep 24, 2014 at 8:52 PM, Tijl Coosemans wrote: >> On Tue, 23 Sep 2014 23:23:31 +0200 Fernando Apesteguía >> wrote: >>> I have a Makefile for an application that provides both examples and >>> documentation. I created the t

Re: On Docs option and custom build target

2014-09-24 Thread Fernando Apesteguía
On Wed, Sep 24, 2014 at 8:52 PM, Tijl Coosemans wrote: > On Tue, 23 Sep 2014 23:23:31 +0200 Fernando Apesteguía > wrote: >> I have a Makefile for an application that provides both examples and >> documentation. I created the two options in the Makefile (both enabled >> by default). >> The packag

Re: On Docs option and custom build target

2014-09-24 Thread Tijl Coosemans
On Tue, 23 Sep 2014 23:23:31 +0200 Fernando Apesteguía wrote: > I have a Makefile for an application that provides both examples and > documentation. I created the two options in the Makefile (both enabled > by default). > The package doesn't provide any flags stock like --with-docs or > --with-e

On Docs option and custom build target

2014-09-23 Thread Fernando Apesteguía
Hi, I have a Makefile for an application that provides both examples and documentation. I created the two options in the Makefile (both enabled by default). The package doesn't provide any flags stock like --with-docs or --with-examples, so I have a custom target like this: do-build: @cd