From 8e62b9a2c091b62d59da7ab6c307fc3d502cb428 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 21 Sep 2012 14:01:28 +0000 Subject: [PATCH] build: set default verbosity to 0 and tweak the LolFx build rule so that it understands V=0 and V=1. --- build/autotools/common.am | 7 ++++++- configure.ac | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/build/autotools/common.am b/build/autotools/common.am index 415679be..475195a7 100644 --- a/build/autotools/common.am +++ b/build/autotools/common.am @@ -42,9 +42,14 @@ generated-recursive: # .lolfx build rule # +lolfx_gen = $(lolfx_gen_$(V)) +lolfx_gen_ = $(lolfx_gen_$(AM_DEFAULT_VERBOSITY)) +lolfx_gen_0 = @echo " LOLFX " $@; + SUFFIXES = .lolfx .lolfx.o: - (echo "char const *"; \ + $(lolfx_gen) + $(AM_V_at)(echo "char const *"; \ echo "lolfx_$(notdir $(basename $(filter %.lolfx, $^))) ="; \ $(SED) 's/"/\\"/g' $(filter %.lolfx, $^) | $(SED) 's/\([^\r]*\).*/"\1\\n"/'; \ echo ";") \ diff --git a/configure.ac b/configure.ac index ba489a7d..602c00d2 100644 --- a/configure.ac +++ b/configure.ac @@ -6,6 +6,7 @@ AC_CONFIG_AUX_DIR(.auto) AC_CANONICAL_SYSTEM AM_INIT_AUTOMAKE([subdir-objects no-define tar-ustar silent-rules]) dnl AM_MAINTAINER_MODE +AM_DEFAULT_VERBOSITY=0 dnl Versioning of the separate software we ship LOLUNIT_VERSION=0.1