[gobject-introspection] Make sure the macros work without silent rules
- From: Johan Dahlin <johan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Make sure the macros work without silent rules
- Date: Wed, 30 Dec 2009 23:22:30 +0000 (UTC)
commit 8be17d491115ff1a13ec7591580488dac6b80ab2
Author: Johan Dahlin <johan gnome org>
Date: Thu Dec 31 00:21:33 2009 +0100
Make sure the macros work without silent rules
We should not require AM_DEFAULT_VERBOSITY to be present, workaround
that fact
Makefile.introspection | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Makefile.introspection b/Makefile.introspection
index 7bd0efe..9616294 100644
--- a/Makefile.introspection
+++ b/Makefile.introspection
@@ -63,12 +63,14 @@ _gir_includes = $(foreach include,$($(_gir_name)_INCLUDES),--include=$(include))
_gir_libtool = $(if $(LIBTOOL),--libtool="$(LIBTOOL)")
# Macros for AM_SILENT_RULES prettiness
+_gir_verbosity = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
+
_gir_silent_scanner = $(_gir_silent_scanner_$(V))
-_gir_silent_scanner_ = $(_gir_silent_scanner_$(AM_DEFAULT_VERBOSITY))
+_gir_silent_scanner_ = $(_gir_silent_scanner_$(_gir_verbosity))
_gir_silent_scanner_0 = @echo " GISCAN $(1)";
_gir_silent_compiler = $(_gir_silent_compiler_$(V))
-_gir_silent_compiler_ = $(_gir_silent_compiler_$(AM_DEFAULT_VERBOSITY))
+_gir_silent_compiler_ = $(_gir_silent_compiler_$(_gir_verbosity))
_gir_silent_compiler_0 = @echo " GICOMP $(1)";
#
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]