D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] make dist gettext problems.

 

On Monday 29 August 2005 9:40 pm, Neil Williams wrote:
> The solution was:
>
> if USE_LIBGDA
> SUBDIRS = backend qof examples . po doc
> DIST_SUBDIRS = backend qof examples . po doc
> else
> SUBDIRS = lib backend qof examples . po doc
> DIST_SUBDIRS = lib backend qof examples . po doc
> endif
>
> Explicitly set the DIST_SUBDIRS and make dist works fine!

But caused a secondary problem, it's best to just set DIST_SUBDIRS once:

if USE_LIBGDA
SUBDIRS = backend qof examples . po doc
else
SUBDIRS = lib backend qof examples . po doc
endif

DIST_SUBDIRS = lib backend qof examples . po doc

Otherwise, the distributed tarball can't be built on a platform that doesn't 
have the optional library, which kind of defeats the point of the conditional 
build!

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpuByc7Tlzud.pgp
Description: PGP signature