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

Re: CDBS and debian/control ...



On Fri, Nov 18, 2005 at 09:39:34AM +0100, Sven Luther wrote:
> The problem that Jeffries had, and which you probably have also in your
> CDBS based packages, is that you cannot use a debian/control target, as it will
> be called automatically by the CDBS rules at *build time*, which is a RC bug
> in CDBS i believe, and the reason why Joerg rejected the facile package, and
> probably why you (by luck and without noticing probably) are not using a
> debian/control target but an ocaml_init one.

Not by luck, by choice. Makefile have been designed having in mind that
targets correspond to files on the filesystem. Each time you use such a
target you have be ready that make can decide to rebuild them. The fact
that that does not happen in your debian/rules since no one reference
the debian/control target is IMO a property not to rely on since in the
future someone may forget that such a property is required to avoid mess
at build time.

For that reason I chosed "ocamlinit" as a PHONY target (not a real PHONY
target for make but used that way since there is no "ocamlinit" file on
the filesystem generated by its rule).

> So, if we will write in our policy that you should use a
> debian/control target to generate the build-dep part of the control
> file, then you cannot use CDBS at the same time, until CDBS is fixed. 

There's nothing to be fixed in CDBS, it works that way and Steffen
simply badly interacted with it.

Cheers.

-- 
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,debian.org,bononia.it} -%- http://www.bononia.it/zack/
If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. -!-

Attachment: signature.asc
Description: Digital signature


Reply to: