summaryrefslogtreecommitdiff
path: root/Makefile.introspection
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2009-12-31 00:21:33 +0100
committerJohan Dahlin <johan@gnome.org>2009-12-31 00:21:33 +0100
commit8be17d491115ff1a13ec7591580488dac6b80ab2 (patch)
treeed9d7733004315f838434559b06488643d619ea0 /Makefile.introspection
parentc1836c4e455eb4c98f3a2a5ce97995e070cf9377 (diff)
downloadgobject-introspection-8be17d491115ff1a13ec7591580488dac6b80ab2.tar.gz
Make sure the macros work without silent rules
We should not require AM_DEFAULT_VERBOSITY to be present, workaround that fact
Diffstat (limited to 'Makefile.introspection')
-rw-r--r--Makefile.introspection6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.introspection b/Makefile.introspection
index 7bd0efe7..96162947 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)";
#