From 4ca248c0441ecb5e559a1e511f9fd408b67a9be0 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sat, 17 Aug 2013 13:58:18 +0200 Subject: [PATCH] Pass --no-print-directory to make The "Entering/Leaving directroy /xyz" messages only add noise to make-output. Even without we still get short hints which directory is currently processed. Compare the two outputs below: With --no-print-directory added: make --no-print-directory all-recursive Making all in doc doxygen libevdev.doxygen Making all in libevdev python2 ./make-event-names.py --output=c > event-names.h make all-am CC libevdev.lo CCLD libevdev.la Making all in tools CC libevdev-events.o CCLD libevdev-events Making all in test CC test-main.o CC test-event-names.o CC test-libevdev-init.o CC test-libevdev-has-event.o CC test-int-queue.o CC test-libevdev-events.o CC libevdev.o CC test-common-uinput.o CC test-common.o CCLD test-libevdev Without it: make all-recursive make[1]: Entering directory `/home/david/dev/libevdev' Making all in doc make[2]: Entering directory `/home/david/dev/libevdev/doc' doxygen libevdev.doxygen make[2]: Leaving directory `/home/david/dev/libevdev/doc' Making all in libevdev make[2]: Entering directory `/home/david/dev/libevdev/libevdev' python2 ./make-event-names.py --output=c > event-names.h make all-am make[3]: Entering directory `/home/david/dev/libevdev/libevdev' CC libevdev.lo CCLD libevdev.la make[3]: Leaving directory `/home/david/dev/libevdev/libevdev' make[2]: Leaving directory `/home/david/dev/libevdev/libevdev' Making all in tools make[2]: Entering directory `/home/david/dev/libevdev/tools' CC libevdev-events.o CCLD libevdev-events make[2]: Leaving directory `/home/david/dev/libevdev/tools' Making all in test make[2]: Entering directory `/home/david/dev/libevdev/test' CC test-main.o CC test-event-names.o CC test-libevdev-init.o CC test-libevdev-has-event.o CC test-int-queue.o CC test-libevdev-events.o CC libevdev.o CC test-common-uinput.o CC test-common.o CCLD test-libevdev make[2]: Leaving directory `/home/david/dev/libevdev/test' make[2]: Entering directory `/home/david/dev/libevdev' make[2]: Leaving directory `/home/david/dev/libevdev' make[1]: Leaving directory `/home/david/dev/libevdev' We don't really win any useful information from these messages. Signed-off-by: David Herrmann Signed-off-by: Peter Hutterer --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile.am b/Makefile.am index e622c1d..95a16ea 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,8 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} +PRINT_DIRECTORY_FLAGS_1= +PRINT_DIRECTORY_FLAGS_0=--no-print-directory +PRINT_DIRECTORY_FLAGS_=$(PRINT_DIRECTORY_FLAGS_$(AM_DEFAULT_VERBOSITY)) +AM_MAKEFLAGS = $(PRINT_DIRECTORY_FLAGS_$(V)) SUBDIRS = doc libevdev tools test pkgconfigdir = $(libdir)/pkgconfig -- 2.7.4