On Wednesday 14 June 2006 03:58, Manoj Srivastava wrote:
> On 13 Jun 2006, George Danchev said:
> > On Saturday 10 June 2006 15:57, Marc Dequènes wrote:
> > --cut--
> >
> >> Until this is solved, i'm still maintaining my original version,
> >> since more people use it than the one in the package, but this is
> >> not an ideal situation.
> >
> > Ok, time to ask a real question about cdbs ;-) I assume you are
> > pretty much familiar with it and its strengths and weaknesses, hence
> > my little problem follows:
> >
> > my debian/rules (in which I have my self-written target, no it is
> > not supported by cdbs yet)
>
>         I do not think your make file does what you think it does. It
>  replaces, instead of enhancing, the single colon rule that CDBS
>  uses.

        Absolutely right. This has nothing to do with CDBS features, the fault 
is 
mine.

> > * what couses that, and how to escape that annoying warn ?
>
> common-configure-arch common-configure-indep:: myowntarget
>
> myowntarget:
>         ./configure --prefix=/usr
>         touch debian/stamp-autotools-files

        I really failed to suspect the single/double colon dependencies! In 
fact, in 
my second thoughts and after digging for a while into rules and class CDBS 
makefiles I realized that it is enough to have just debhelper.mk and 
autotools.mk included in my debian/rules file and have all the common things 
I need. Then I added my own and unique (phony) targets to enhance what I 
already have inherited from cdbs. That is what I think I need - the common 
things should be implemented by a common pile of code, and my part stays 
really mine, isolated and being added next to that.

        Thanks for the comprehensive make lecture, it was pretty refreshing, at 
least 
for me.

-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to