From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: [PATCH 08/13] build: Add 'DOT' silent rule. Date: Sun, 24 Jan 2016 21:19:26 +0100 Message-ID: <1453666771-16869-9-git-send-email-mthl@gnu.org> References: <1453666771-16869-1-git-send-email-mthl@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------2.7.0.rc3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNR98-0003aE-0i for guix-devel@gnu.org; Sun, 24 Jan 2016 15:20:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNR97-0005dD-1q for guix-devel@gnu.org; Sun, 24 Jan 2016 15:20:25 -0500 In-Reply-To: <1453666771-16869-1-git-send-email-mthl@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org This is a multi-part message in MIME format. --------------2.7.0.rc3 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: quoted-printable * Makefile.am (AM_V_DOT, AM_V_DOT_, AM_V_DOT_0): New variables. * doc.am (.dot.png, .dot.pdf, .dot.eps): Use $(AM_V_DOT). --- Makefile.am | 4 ++++ doc.am | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) --------------2.7.0.rc3 Content-Type: text/x-patch; name="0008-build-Add-DOT-silent-rule.patch" Content-Disposition: inline; filename="0008-build-Add-DOT-silent-rule.patch" Content-Transfer-Encoding: quoted-printable diff --git a/Makefile.am b/Makefile.am index 754c19a..4c71a12 100644 --- a/Makefile.am +++ b/Makefile.am @@ -481,3 +481,7 @@ AM_V_DL =3D $(AM_V_DL_$(V)) AM_V_DL_ =3D $(AM_V_DL_$(AM_DEFAULT_VERBOSITY)) AM_V_DL_0 =3D @echo " DL " $@; =20 +AM_V_DOT =3D $(AM_V_DOT_$(V)) +AM_V_DOT_ =3D $(AM_V_DOT_$(AM_DEFAULT_VERBOSITY)) +AM_V_DOT_0 =3D @echo " DOT " $@; + diff --git a/doc.am b/doc.am index 9214405..9e95349 100644 --- a/doc.am +++ b/doc.am @@ -68,15 +68,15 @@ DOT_OPTIONS =3D \ -Nfontsize=3D9 -Nheight=3D.1 -Nwidth=3D.1 =20 .dot.png: - $(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" + $(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" =20 .dot.pdf: - $(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" + $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" =20 .dot.eps: - $(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp" + $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \ mv "$(srcdir)/$@.tmp" "$(srcdir)/$@" =20 .png.eps: --------------2.7.0.rc3--