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

Bug#250202: Alternate proposal



Wouter Verhelst <wouter@debian.org> writes:
> On Tue, Apr 26, 2005 at 11:57:53AM -0700, Russ Allbery wrote:

>> dbs, one of the larger contributors to this particular packaging style,
>> uses "setup", so if "setup" was used all the dbs packages at least
>> would immediately satisfy the should.

> Yes, that would be an option; but only if running 'dpkg-buildpackage'
> after executing the 'setup' target would not erase any local changes, or
> do other unexpected things. I'm not familiar enough with dbs to know
> whether this is the case.

As near as I can tell (I'm not very familiar with dbs, having just adopted
a package that uses it but not having used it before that), it would
preserve any local changes.  (Just untarring the upstream source, making
changes, and then building the package would not preserve local changes as
near as I can tell.)

> That being said, there are other systems, such as cdbs, that have other
> defaults. I'm not sure whether it's a good idea to pick one, and ignore
> the other -- but I don't really care about that bit, either.

It looks like the equivalent target in cdbs when running in DBS mode is
"post-patches", although the makefiles are a bit harder for me to follow.
Not as intuitive of a name, but it looks like it's mostly intended to be
an internal generic hook.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>



Reply to: