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

Re: How to unpack upstream tarball in a dpatch-using package?



Marc Haber -- 29.11.2006 13:36 --:
> Be given a source package with the following layout:
> 
> foo/
> foo/debian
> foo/debian/rules
> foo/debian/patches
> foo/debian/patches/00list
> foo/debian/patches/01bar
> foo/upstream/package.tar.bz2
> 
> So I want the package build process to unpack
> foo/upstream/packag.tar.bz2 before trying to apply the patches with
> dpatch.
> 
> Is it better to do some makefile magic for this unpacking (as having
> an unpack-stamp which patch depends on, or would one better have a
> foo/debian/patches/00unpack dpatch snippet doing the unpacking?

I'd do it with makefile magic.

This will allow you to move to another patch system if such need arises.


	dam
-- 
Damyan Ivanov                           Modular Software Systems
dam@modsoftsys.com
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067             dam@jabber.minus273.org/Gaim

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: