[Build-common-hackers] Re: my CDBS gallery: real-world rules samples

Stefano Zacchiroli zack at bononia.it
Wed Sep 13 14:54:38 UTC 2006

On Tue, Sep 12, 2006 at 01:57:08PM -0300, Caio Begotti wrote:
> > I would like to see is an (alternative) organization sliced  
> > according to which cdbs rules/classes are used.
> Indeed, that could be better. I even tried to find out some kind of  
> list of existing CDBS rules and variables to make hypertext links  
> with them (pointing to Duck's documentation) and that would allow me  
> to change the current organization of debian/rules and even have a  
> nice reference for those rules.

No idea for variables, but for rules and classes you can use the
following naive (but IMO working) heuristic.

  Look for all include lines in the debian/rules you're getting, if the
  included file is under /usr/share/cdbs then it is worth using it as a
  category to which the current debian/rules belongs to.


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. -!-

More information about the Build-common-hackers mailing list