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

Re: DH_COMPAT 2 or 3 ?



On Tue, Apr 03, 2001 at 03:16:57PM +0200, Ivo Timmermans wrote:
> Sven LUTHER wrote:
> > On Tue, Apr 03, 2001 at 09:04:41AM -0400, Gopal Narayanan wrote:
> > > On Tue, Apr 03, 2001 at 10:40:11AM +0200, Stefano Zacchiroli wrote:
> > > > I've done the ocaml-findlib package with 'export DH_COMPAT=3' in the
> > > > debian/rules.
> > > 
> > > The version of debhelper on potato does not recognize
> > > DH_COMPAT=3. That is a feature in the debhelper ver >3.0. That may
> > > explain the problem of building on a potato machine.
> > 
> > Is there any way of telling if we are building on a potato system or in a
> > woody or unstable system in the rules file ? This could be handy for other
> > kind of stuff also.
> 
> cat /etc/debian_version

yes, this one could do ...

> dh_testversion

erm, ... this is told to be depredated (or whatever is the correct writting of
this word) by the build dependency stuff. It also don't seems to do anything
on a unstable system.

> or build dependencies on debhelper (>>3.0)

Yes, but since i want ot build the package on both potato and unstable, this
will not help.

Maybe there could be two Build-depends line, one for potato and one for
unstable also, or something such, but then potato apt don't support build
depends yet, so this may be moot.

Anyway, the first solution would be the best one in this case.

Friendly,

Sven Luther
> 
> 
> -- 
> Ivo Timmermans
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: