[prev in list] [next in list] [prev in thread] [next in thread] 

List:       debian-devel
Subject:    Re: Can quilt delete files?
From:       Daniel Leidert <daniel.leidert.spam () gmx ! net>
Date:       2009-12-08 16:42:11
Message-ID: 1260290531.4603.6.camel () haktar ! wgdd ! de
[Download RAW message or body]

Am Dienstag, den 08.12.2009, 17:31 +0100 schrieb Mehdi Dogguy:
> Thomas Koch wrote:
> > Hi,
> > 
> > I'm triing to package a little java library, which contains its own .jar and 
> > some pregenerated docs. These files should be regenerated on build time. So 
> > I'd like to have them removed by diff.gz
> > Trying to generate an appropriate quilt patch failed. The only thing I came up 
> > with, was a patch that contains the whole content of the removed files with - 
> > before every line.
> > Anybody more clever then me?
> > 
> 
> What about repackaging?

Alternatively:

build:
	find . -name "*.jar" -exec rename 's/$/.orig/' "{}" ";"

clean:
	find . -name "*.jar.orig" -exec rename 's/\.orig$//' "{}" ";"

IMO this is ok as long as these jars can be rebuilt during build.

Regards, Daniel


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic