Le Ven 20 Janvier 2006 22:24, Joey Hess a écrit :
> Pierre Habouzit wrote:
> >   it took me ages to understand why dh_install -X.svn matched a
> > svn.vim ... just because -X in fact takes regexps. it should be
> > stated in the man page.
>
> It's not intended to be a regexp. How exactly were you using
> dh_install?

actually it is : I read the source, and dh_install -Xfoo creates that 
find stanza (through a debhelper shared pm) :

  find $DIRECTORY ! \( -regex .\*foo.\* \) ....

wich makes foo a (posix) regexp.


In vim packaging, we have some subdirectories of debian/ that we install 
in the vim-runtime debian package. To ease our developpement that is 
done in a team on alioth with svn, we use :

  dh_install -X.svn

to avoid lintian complaints about .svn when we try a new package (not 
the one we upload of course !).

Though, it had the nasty effect to skip a file named :

  debian/tmp/vim/runtime/syntax/svn.vim ...

the *current* fix was to use :

  dh_install -X\\.svn

IMHO, it's fine for -X switch taking a regex, but it should be specified 
in the man page.
-- 
·O·  Pierre Habouzit
··O                                                [EMAIL PROTECTED]
OOO                                                http://www.madism.org

Attachment: pgpIrK05UdfaY.pgp
Description: PGP signature

Reply via email to