While building "make check", I saw this scroll by (too quickly
to see what it was), but it was different enough from the rest that...
CCLD libvirt.la
CCLD libvirt_test.la
make check-local
make[3]: Entering directory `/home/j/w/co/libvirt/src'
if test -x '/usr/bin/augparse'; then \
'/usr/bin/augparse' -I ./qemu \
./qemu/test_libvirtd_qemu.aug; \
fi
if test -x '/usr/bin/augparse'; then \
'/usr/bin/augparse' -I ./lxc \
./lxc/test_libvirtd_lxc.aug; \
fi
CC libvirtd-event.o
CC libvirtd-libvirtd.o
I scrolled back to investigate.
Not a problem, but let's eliminate the distraction.
Here's a patch.
With it, instead of the above "if test..." lines, you'll see this
single line:
GEN augeas-check
From 84eb6effdd0241a8bae196d4b77d873aea7fd3db Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering(a)redhat.com>
Date: Wed, 24 Mar 2010 09:39:54 +0100
Subject: [PATCH] build: suppress distracting build output
* src/Makefile.am (augeas-check): New target, just to give the existing
rule a name. At the same time, prefix the commands with $(AM_V_GEN),
to avoid unexpected build output with V=0 which is the default.
---
src/Makefile.am | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 0aa3443..5f6b325 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -766,15 +766,18 @@ EXTRA_DIST += \
$(SECRET_DRIVER_SOURCES) \
$(VBOX_DRIVER_EXTRA_DIST)
-check-local:
+check-local: augeas-check
+
+.PHONY: augeas-check
+augeas-check:
if WITH_QEMU
- if test -x '$(AUGPARSE)'; then \
+ $(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
'$(AUGPARSE)' -I $(srcdir)/qemu \
$(srcdir)/qemu/test_libvirtd_qemu.aug; \
fi
endif
if WITH_LXC
- if test -x '$(AUGPARSE)'; then \
+ $(AM_V_GEN)if test -x '$(AUGPARSE)'; then \
'$(AUGPARSE)' -I $(srcdir)/lxc \
$(srcdir)/lxc/test_libvirtd_lxc.aug; \
fi
--
1.7.0.3.435.g097f4