[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subpackage distclean removed parent package dep files

From: Ralf Wildenhues
Subject: Re: Subpackage distclean removed parent package dep files
Date: Wed, 17 Feb 2010 20:54:28 +0100
User-agent: Mutt/1.5.20 (2009-10-28)


* BVK Chaitanya wrote on Tue, Feb 16, 2010 at 07:02:11PM CET:
> 1.  Enabling subdir-objects option creates .Po files in ".deps"
> directories in each _SOURCE file's directories.

Not each _SOURCE file's, but in the same directory in which the object
will be put.  Which is the current builddir concatenated with the
dirname of each source file.

Does your setup actually build object files from the different packages
into the same subdirectory?  Maybe even same object files?  That would
sound dangerous to me.

Such things can often be avoided by rearranging the subdir structure a

> In a nested packages configuration, this can cause top-level packages'
> _SOURCE and nested packages' _SOURCE to share same .deps directory
> (specifically, if any source file is shared between both packages.)

Typically, that is a bad idea, esp. if the packages' rules for building
the object files get out of sync you have an implied race (a `cd subdir
&& make' will generate a different object from a plain make).

Hope that helps.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]