guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/11: build: Add 'EMACS' silent rule.


From: Mathieu Lirzin
Subject: 07/11: build: Add 'EMACS' silent rule.
Date: Thu, 28 Jan 2016 15:32:43 +0000

mthl pushed a commit to branch master
in repository guix.

commit 71ed439b6804e82877f63093ee101a2f1e12c77a
Author: Mathieu Lirzin <address@hidden>
Date:   Sun Jan 24 18:57:49 2016 +0100

    build: Add 'EMACS' silent rule.
    
    * Makefile.am (AM_V_EMACS, AM_V_EMACS_, AM_V_EMACS_0): New variables.
    * emacs.am [HAVE_EMACS] ($(AUTOLOADS)): Use $(AM_V_EMACS).
---
 Makefile.am |    4 ++++
 emacs.am    |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 768a8bd..2fa1269 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -484,3 +484,7 @@ AM_V_DL_0 = @echo "  DL      " $@;
 AM_V_DOT = $(AM_V_DOT_$(V))
 AM_V_DOT_ = $(AM_V_DOT_$(AM_DEFAULT_VERBOSITY))
 AM_V_DOT_0 = @echo "  DOT     " $@;
+
+AM_V_EMACS = $(AM_V_EMACS_$(V))
+AM_V_EMACS_ = $(AM_V_EMACS_$(AM_DEFAULT_VERBOSITY))
+AM_V_EMACS_0 = @echo "  EMACS   " $@;
diff --git a/emacs.am b/emacs.am
index 6af9596..30bb02b 100644
--- a/emacs.am
+++ b/emacs.am
@@ -1,5 +1,6 @@
 # GNU Guix --- Functional package management for GNU
 # Copyright © 2014, 2015, 2016 Alex Kost <address@hidden>
+# Copyright © 2016 Mathieu Lirzin <address@hidden>
 #
 # This file is part of GNU Guix.
 #
@@ -60,7 +61,7 @@ dist_lisp_DATA =                              \
 nodist_lisp_DATA = emacs/guix-config.el
 
 $(AUTOLOADS): $(ELFILES)
-       $(EMACS) --batch --eval                                         \
+       $(AM_V_EMACS)$(EMACS) --batch --eval                            \
          "(let ((backup-inhibited t)                                   \
                 (generated-autoload-file                               \
                  (expand-file-name \"$(AUTOLOADS)\" \"$(srcdir)\")))   \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]