[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/11: build: Add 'DOT' silent rule.
From: |
Mathieu Lirzin |
Subject: |
06/11: build: Add 'DOT' silent rule. |
Date: |
Thu, 28 Jan 2016 15:32:42 +0000 |
mthl pushed a commit to branch master
in repository guix.
commit 4c48878de889d45620ad79c6de077ac2b1984d6a
Author: Mathieu Lirzin <address@hidden>
Date: Sun Jan 24 18:55:38 2016 +0100
build: Add 'DOT' silent rule.
* 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(-)
diff --git a/Makefile.am b/Makefile.am
index 4e97ff1..768a8bd 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -480,3 +480,7 @@ assert-final-inputs-self-contained:
AM_V_DL = $(AM_V_DL_$(V))
AM_V_DL_ = $(AM_V_DL_$(AM_DEFAULT_VERBOSITY))
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 " $@;
diff --git a/doc.am b/doc.am
index f15efcc..045e930 100644
--- a/doc.am
+++ b/doc.am
@@ -67,15 +67,15 @@ DOT_OPTIONS = \
-Nfontsize=9 -Nheight=.1 -Nwidth=.1
.dot.png:
- $(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/address@hidden"
+ $(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" >
"$(srcdir)/address@hidden"; \
mv "$(srcdir)/address@hidden" "$(srcdir)/$@"
.dot.pdf:
- $(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/address@hidden"
+ $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" >
"$(srcdir)/address@hidden"; \
mv "$(srcdir)/address@hidden" "$(srcdir)/$@"
.dot.eps:
- $(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/address@hidden"
+ $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" >
"$(srcdir)/address@hidden"; \
mv "$(srcdir)/address@hidden" "$(srcdir)/$@"
.png.eps:
- branch master updated (03675ca -> 8a76e5f), Mathieu Lirzin, 2016/01/28
- 01/11: tests: Use 'dummy-origin' for lint tests when possible., Mathieu Lirzin, 2016/01/28
- 02/11: lint: Remove an unneeded clause in 'check-patch-file-names'., Mathieu Lirzin, 2016/01/28
- 06/11: build: Add 'DOT' silent rule.,
Mathieu Lirzin <=
- 08/11: build: Add 'HELP2MAN' silent rule., Mathieu Lirzin, 2016/01/28
- 07/11: build: Add 'EMACS' silent rule., Mathieu Lirzin, 2016/01/28
- 05/11: build: Add 'DL' silent rule., Mathieu Lirzin, 2016/01/28
- 11/11: Update .gitignore., Mathieu Lirzin, 2016/01/28
- 04/11: packages: Use '@' in package record printers., Mathieu Lirzin, 2016/01/28
- 10/11: build: Use 'GEN' and 'at' silent rules., Mathieu Lirzin, 2016/01/28
- 09/11: build: Remove guix-autoloads.el from the distribution., Mathieu Lirzin, 2016/01/28
- 03/11: lint: Rewrite 'check-patch-file-names'., Mathieu Lirzin, 2016/01/28