Building sources twice

Orion Poplawski orion at cora.nwra.com
Tue Jan 19 18:42:03 UTC 2010


On 01/19/2010 07:47 AM, Joe Orton wrote:
> Most projects should allow use to use "VPATH" builds where
> srcdir!=builddir, if not it is generally pretty simple to fix up the
> Makefiles to support this.  Generally you'll do:
>
>   mkdir build-one&&  cd build-one
>   ../configure --some-options
>   make
>   cd ..
>   mkdir build-two&&  cd build-two
>   ../configure --other-options
> etc
>
> Regards, Joe

and you can now do:

%global _configure ../configure

%configure --options

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com


More information about the devel mailing list