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

List:       debian-devel
Subject:    Re: Can quilt delete files?
From:       Benjamin Drung <bdrung () ubuntu ! com>
Date:       2009-12-08 16:30:23
Message-ID: 1260289823.22342.2.camel () deep-thought
[Download RAW message or body]

Am Dienstag, den 08.12.2009, 16:56 +0100 schrieb Thomas Koch:
> 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?
> 
> I know that dpatch allows the execution of shell scripts. This would be ideal. 
> I'd just do find . -name "*.jar" -exec rm {} \;
> 
> But also a patch which contains just the names of the files to be removed and 
> not the whole content would suffice.

Putting 'find . -name "*.jar" -delete' in you clean rule should do the
same job for you.

-- 
Benjamin Drung
Ubuntu Developer (www.ubuntu.com) | Debian Maintainer (www.debian.org)

["signature.asc" (application/pgp-signature)]
-- 
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