aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-04-29 22:00:24 +0200
committerLudovic Courtès <ludo@gnu.org>2013-04-29 22:00:24 +0200
commitdab5d51be739d23d8ce98f15d195c8e3c91bbd7e (patch)
tree5fe863f45fae3bd4cec8d7a78be494e52097be87 /Makefile.am
parent30dd831083339483771d8bcc0bdecd1f447bbcfd (diff)
downloadguix-dab5d51be739d23d8ce98f15d195c8e3c91bbd7e.tar
guix-dab5d51be739d23d8ce98f15d195c8e3c91bbd7e.tar.gz
build: Add silent-rules machinery for `guild compile'.
* Makefile.am (AM_V_GUILEC, AM_V_GUILEC_, AM_V_GUILEC_0): New variables. (.scm.go): Use $(AM_V_GUILEC).
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index ceb6918e79..7a1cae6a8c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -340,10 +340,14 @@ CLEANFILES = \
$(GOBJECTS) \
$(SCM_TESTS:%.scm=%.log)
+AM_V_GUILEC = $(AM_V_GUILEC_$(V))
+AM_V_GUILEC_ = $(AM_V_GUILEC_$(AM_DEFAULT_VERBOSITY))
+AM_V_GUILEC_0 = @echo " GUILEC" $@;
+
# XXX: Use the C locale for when Guile lacks
# <http://git.sv.gnu.org/cgit/guile.git/commit/?h=stable-2.0&id=e2c6bf3866d1186c60bacfbd4fe5037087ee5e3f>.
.scm.go:
- $(MKDIR_P) `dirname "$@"`
+ $(AM_V_GUILEC)$(MKDIR_P) `dirname "$@"` ; \
LC_ALL=C \
$(top_builddir)/pre-inst-env \
$(GUILD) compile -L "$(top_builddir)" -L "$(top_srcdir)" \