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

Re: Best Packaging Practices, act II



* Bas Zoetekouw 

| Hi Raphael!
| 
| You wrote:
| 
| > Packaging tools and common cases :
| > * Managing multiple patches
| >   - dbs package
| >   - hello-dbs is an example
| >   - is there another tool that doesn't require to provide a tar archive
| >     in the source package ?
| 
| The aumix package (2.7-19 and higher) handles this quite nicely.
| 
| It first put the patches in a make variable:
| 
|   PATCHES:=$(shell cd debian/diffs && ls *.patch)
|   REVPATCHES:=$(strip $(shell A=; for i in $(PATCHES); do A="$$i $$A"; done; \
|               echo $$A))
| 
| The REVPATCHES variable contains the patches in reverse sequence, which
| is used to unapply them.

[...]

And this works properly when some of the patches fail to apply?  And
you will have to run debclean before removing or changing a patch,
right?

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: