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-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to