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

Re: r32476 - trunk/packages/user-setup/debian



> The \ is not necessary, and the -X.svn should not be necessary either.
> Either --
> 
> 1. Build from a svn export tree which doesn't have the pesky .svn
>    directories.
> 2. Use the support that is in debhelper and dpkg-dev to exclude all .svn
>    directories automatically and can with some work be done for all your
>    package builds (DH_ALWAYS_EXCLUDE=CVS:.svn and 
>    dpkg-buildpackage -i -ICVS -I.svn)
> 3. Get broken packages sometimes and patch them up imprefectly after the
>    fact with -X.svn that can easily miss stuff.


2. is what I usually do, with this in ~/.devscripts:

DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i'(?:^|/).*~$|(?:^|/)\..*\.swp|DEADJOE|(?:/CVS|/RCS|/\.svn|/\.deps|/\{arch\}|/\.arch-ids)(?:$|/)' -ICVS -I.svn -uc -us"
DEBUILD_PRESERVE_ENVVARS=DH_ALWAYS_EXCLUDE
DEBUILD_LINTIAN=yes
DEBUILD_LINDA=yes

However, building apt-setup and user-setup left me with
prebaseconfig/.svn directories. Not wanting to investigate too far and
rather release user-setup after a busy week-end tracking down its quirks, I
went up with this workaround.

So, I actually wonder why, even with these variables in ~/.devscripts,
running "debuild" on a copy of the SVN directories of apt-setup or
user-setup builds packages with prebaseconfig.d/.svn





Reply to: