Re: circular dependencies in debian -> impact on emdebian
Quoting Peter Vandenabeele <peter.vandenabeele@mind.be>:
> On Tue, Apr 06, 2004 at 08:36:53PM +0200, W. Borgert wrote:
> > Other point: Many people use CDBS nowadays, so that rules is often
> > only three lines. Maybe one could add emdebian support to CDBS?
> > One could have a special class for embedian which e.g. removes
Maybe not 'class', but 'rules'.
> > everything from ./debian/tmp/usr/share/doc/... etc.
>
> Would this strategy avoid the need for a modified copy of the rules files
> ^^^^
> in a separate emdebian directory ? That would avoid the problem that
I don't know. Maybe a debian/rules like this would work?
#!/usr/bin/make -f
ifdef EMDEBIAN
include /usr/share/cdbs/1/rules/emdebhelper.mk
else
include /usr/share/cdbs/1/rules/debhelper.mk
endif
include /usr/share/cdbs/1/class/makefile.mk
With emdebhelper.mk TBD. Better alternative: Add useful
commands to the debhelper.mk, for the case if EMBEDIAN is
defined.
> ... (bad design practice to keep copies in sync by hand)
Yes.
Cheers, WB
Reply to: