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).
This commit is contained in:
parent
8c3d889456
commit
4c48878de8
|
@ -480,3 +480,7 @@ assert-final-inputs-self-contained:
|
||||||
AM_V_DL = $(AM_V_DL_$(V))
|
AM_V_DL = $(AM_V_DL_$(V))
|
||||||
AM_V_DL_ = $(AM_V_DL_$(AM_DEFAULT_VERBOSITY))
|
AM_V_DL_ = $(AM_V_DL_$(AM_DEFAULT_VERBOSITY))
|
||||||
AM_V_DL_0 = @echo " DL " $@;
|
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 " $@;
|
||||||
|
|
6
doc.am
6
doc.am
|
@ -67,15 +67,15 @@ DOT_OPTIONS = \
|
||||||
-Nfontsize=9 -Nheight=.1 -Nwidth=.1
|
-Nfontsize=9 -Nheight=.1 -Nwidth=.1
|
||||||
|
|
||||||
.dot.png:
|
.dot.png:
|
||||||
$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"
|
$(AM_V_DOT)$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
|
||||||
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
|
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
|
||||||
|
|
||||||
.dot.pdf:
|
.dot.pdf:
|
||||||
$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"
|
$(AM_V_DOT)$(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
|
||||||
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
|
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
|
||||||
|
|
||||||
.dot.eps:
|
.dot.eps:
|
||||||
$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"
|
$(AM_V_DOT)$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$(srcdir)/$@.tmp"; \
|
||||||
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
|
mv "$(srcdir)/$@.tmp" "$(srcdir)/$@"
|
||||||
|
|
||||||
.png.eps:
|
.png.eps:
|
||||||
|
|
Loading…
Reference in New Issue