On 19 June 2010 22:48, Hugo Mills <h...@carfax.org.uk> wrote:
> On Sat, Jun 19, 2010 at 10:20:42PM +0100, Tim Retout wrote:
>> On 19 June 2010 20:53, Anton Piatek <an...@piatek.co.uk> wrote:
>> > Several people have asked me at various Hants/Surrey LUG events about
>> > building Debian/Ubuntu packages. I have just started the first of a
>> > series of blog posts about it, and thought I would post it here for
>> > those that are interested.
>> >
>> > http://www.strangeparty.com/2010/06/17/a-debian-packaging-howto/
>>
>> Noooooooooooooo, not cdbs! ;)
>>
>> Most developers prefer debhelper 7 these days, with the 'dh' tool,
>> because it is easier to customize for unusual situations. Some
>> packaging teams (like the Debian GNOME team, I think) still use cdbs
>> because they have specialized requirements.  (This is almost certainly
>> the first comment you would receive on submitting such a package to
>> the debian-mentors list, apart being asked to clean up the rubbish
>> added by dh_make.)
>
>   On several occasions, I've looked at building debs in the past, but
> I've always baulked at the huge list of more-or-less obscure dh_*
> commands that end up in the auto-built makefiles. I'd like to know
> what they do, and what situations they're each useful for.
>
>   As a serious programming control freak, having a big list of weird
> commands in my makefile with little idea of exactly what purpose each
> serves makes me very uncomfortable. Will you be addressing this
> information in later articles?

I will be covering several of them in a later post, but to be honest I
don't think I've actually ever used them all so can't possibly explain
them all.

The nice thing about all the debhelper tools is that they pretty much
do the right thing, so having them in your debian/rules only slows the
build time slightly - I don't think I have ever had a problem caused
by having a dh_ line in my rules that I didn't actually need.

They do of course each have their own man page, so if you really want
to know what they are doing you can always look there

Anton
-- 
Anton Piatek
email: an...@piatek.co.uk       
blog/photos:                    http://www.strangeparty.com
pgp: [74B1FA37] (http://www.strangeparty.com/anton.asc)
fingerprint: 7401 96D3 E037 2F8F 5965  A358 4046 71FD 74B1 FA37

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to