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

Re: packaging newbie...: .svn directories / perldoc --> manpage



On Tue, Jul 06, 2004 at 10:01:40AM +0200, David Weinehall wrote:
> On Tue, Jul 06, 2004 at 08:54:44AM +0100, Colin Watson wrote:
> > On Tue, Jul 06, 2004 at 08:50:38AM +0200, Adrian 'Dagurashibanipal' von Bidder wrote:
> > > (i)
> > > I have the package in subversion, so the .svn directories are included 
> > > in the diff. Can I avoid this easily?
> > 
> >   $ grep DEBUILD_DPKG_BUILDPACKAGE_OPTS .devscripts
> >   DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i'(?:^|/).*~$|(?:^|/)\..*\.swp|DEADJOE|(?:/CVS|/RCS|/\.svn|/\.deps)(?:$|/)' -ICVS -I.svn -uc -us"
> > 
> > (and then use debuild)
> 
> Could this be made a default for debuild, perhaps?  I've seen far too
> many packages containing .svn or {arch}-droppings.

The -i part is already the default in dpkg-source (actually its default
is better); it's the -I options that are still needed.

> The number of CVS-droppings seems to be low, either because the
> CVS-users are dwindling, or that they have learned by now...

And even older versions of dpkg-source excluded CVS directories from
diffs by default.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: