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

Re: Keep directory in working tree, but exclude from foo.diff.gz



Osamu Aoki <osamu@debian.org> writes:

> On Thu, Apr 24, 2008 at 10:31:21PM -0400, Felipe Sateler wrote:
> > Ben Finney wrote:
> >  
> > > What would be the best way to keep such a directory in place, but
> > > exclude the directory from the Debian source and binary packages?
> > 
> > dpkg-source -i"regexp"?
> 
> I am too lazy to type extra regexp
> 
> I have ~/.devscripts with:
> DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -ICVS -I.svn -I.git"

This doesn't have the same effect. The '-iEXCLUDE_REGEXP' option omits
files matching the Perl regexp 'EXCLUDE_REGEXP' from the 'foo.diff.gz'
Debian diff file. The '-IEXCLUDE_GLOB' option will omit files matching
the shell glob 'EXCLUDE_GLOB' from the 'foo.orig.tar.gz' tarball.

-- 
 \      "I bought a self learning record to learn Spanish. I turned it |
  `\        on and went to sleep; the record got stuck. The next day I |
_o__)                could only stutter in Spanish."  -- Steven Wright |
Ben Finney


Reply to: