[libvirt] Re: [Libvir] make syntax-check fails with bzr checkouts

2008-05-06 Thread Soren Hansen
On Wed, Apr 30, 2008 at 12:19:51PM +0200, Jim Meyering wrote:
 Unfortunately, the above no longer applies, due to upstream (gnulib)
 changes to deal with non-srcdir (aka VPATH) builds.  I updated libvirt
 from gnulib just yesterday, and will again, later today.

Here's the new patch that seems to do the trick:


=== modified file 'build-aux/vc-list-files'
--- old/build-aux/vc-list-files 2008-04-30 16:11:08 +
+++ new/build-aux/vc-list-files 2008-05-06 12:25:50 +
@@ -75,6 +75,9 @@
   eval exec git ls-files '$dir' $postprocess
 elif test -d .hg; then
   eval exec hg locate '$dir/*' $postprocess
+elif test -d .bzr; then
+  test $postprocess = ''  postprocess=| sed 's|^\./||'
+  eval exec bzr ls --versioned '$dir' $postprocess
 elif test -d CVS; then
   test $postprocess = ''  postprocess=| sed 's|^\./||'
   if test -x build-aux/cvsu; then


-- 
Soren Hansen   | 
Virtualisation specialist  | Ubuntu Server Team
Canonical Ltd. | http://www.ubuntu.com/


signature.asc
Description: Digital signature
--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list


Re: [libvirt] Re: [Libvir] make syntax-check fails with bzr checkouts

2008-05-06 Thread Jim Meyering
Soren Hansen [EMAIL PROTECTED] wrote:
 On Wed, Apr 30, 2008 at 12:19:51PM +0200, Jim Meyering wrote:
 Unfortunately, the above no longer applies, due to upstream (gnulib)
 changes to deal with non-srcdir (aka VPATH) builds.  I updated libvirt
 from gnulib just yesterday, and will again, later today.

 Here's the new patch that seems to do the trick:

 === modified file 'build-aux/vc-list-files'
 --- old/build-aux/vc-list-files   2008-04-30 16:11:08 +
 +++ new/build-aux/vc-list-files   2008-05-06 12:25:50 +
 @@ -75,6 +75,9 @@
eval exec git ls-files '$dir' $postprocess
  elif test -d .hg; then
eval exec hg locate '$dir/*' $postprocess
 +elif test -d .bzr; then
 +  test $postprocess = ''  postprocess=| sed 's|^\./||'
 +  eval exec bzr ls --versioned '$dir' $postprocess
  elif test -d CVS; then
test $postprocess = ''  postprocess=| sed 's|^\./||'
if test -x build-aux/cvsu; then

Thanks.
That looks fine.  I've pushed it into gnulib (upstream),

http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=176956aa54

and will apply here in libvirt shortly.

--
Libvir-list mailing list
Libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list