diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-08-29 21:50:13 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-08-29 21:58:53 +0200 |
commit | cb9e50f618081275b50489943d5655abfb85c84d (patch) | |
tree | 5b15e7d3f22b1c898df4d42e341f5abd74a6f666 | |
parent | a9424c0887f688e812e498a2556df4b1d9218268 (diff) | |
download | patches-cb9e50f618081275b50489943d5655abfb85c84d.tar patches-cb9e50f618081275b50489943d5655abfb85c84d.tar.gz |
build: Use `missing' for `dot'.
* configure.ac: Substitute `DOT'.
* doc.am (.dot.png, .dot.eps): Use $(DOT).
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | doc.am | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7a7262f967..934ced5d72 100644 --- a/configure.ac +++ b/configure.ac @@ -121,6 +121,10 @@ AC_CACHE_SAVE m4_include([config-daemon.ac]) +dnl `dot' (from the Graphviz package) is only needed for maintainers. +dnl See `HACKING' for more info. +AM_MISSING_PROG([DOT], [dot]) + AC_CONFIG_FILES([Makefile po/Makefile.in guix/config.scm]) @@ -33,11 +33,11 @@ DOT_OPTIONS = \ -Nfontsize=9 -Nheight=.1 -Nwidth=.1 .dot.png: - dot -Tpng $(DOT_OPTIONS) < "$<" > "$@.tmp" + $(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$@.tmp" mv "$@.tmp" "$@" .dot.eps: - dot -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp" + $(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp" mv "$@.tmp" "$@" # We cannot add new dependencies to `doc/guix.pdf' & co. (info "(automake) |