[maemo-developers] Debhelper 7

From: Jeremiah Foster jeremiah at jeremiahfoster.com
Date: Tue Dec 15 22:10:39 EET 2009
On Dec 14, 2009, at 14:02, Anderson Lizardo wrote:

> On Mon, Dec 14, 2009 at 7:15 AM, Marius Vollmer
> <marius.vollmer at nokia.com> wrote:
>> On balance, I think it is better to just stick to debhelper 5 in
>> Fremantle.
> 
> And from our experience in PyMaemo backporting various (but not that
> many) packages from debhelper compatibility level 7 to 5, in most
> cases you need just to change:
> 
> * debian/compat:  7 -> 5
> * debian/control: Build-Depends: debhelper (>= 7) -> debhelper (>= 5)
> * And maybe comment out a few dh_* calls from debian/rules, which
> might not exist on level 5

One of the huge advantages of moving to debhelper 7 compat is that you can have your debian/rules files look like this:

#!/usr/bin/make -f 
%:
	dh $@

Simple. You pass everything off to debhelper.

Jeremiah
More information about the maemo-developers mailing list