aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2016-01-24 18:55:38 +0100
committerMathieu Lirzin <mthl@gnu.org>2016-01-28 16:31:38 +0100
commit4c48878de889d45620ad79c6de077ac2b1984d6a (patch)
tree16c38f40153a9946d49cdffb1b5a4a4718b430e9
parent8c3d8894562ac990e7b5f23e74e6f12ea14b1a87 (diff)
downloadguix-4c48878de889d45620ad79c6de077ac2b1984d6a.tar
guix-4c48878de889d45620ad79c6de077ac2b1984d6a.tar.gz
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).
-rw-r--r--Makefile.am4
-rw-r--r--doc.am6
2 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index 4e97ff18d7..768a8bd263 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 f15efcc33c..045e93056c 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)/$@.tmp"
+ $(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.dot.pdf:
- $(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"
+ $(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.dot.eps:
- $(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"
+ $(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
.png.eps: