build: Use missing' for
dot'.
* configure.ac: Substitute `DOT'. * doc.am (.dot.png, .dot.eps): Use $(DOT).
This commit is contained in:
parent
a9424c0887
commit
cb9e50f618
@ -121,6 +121,10 @@ AC_CACHE_SAVE
|
|||||||
|
|
||||||
m4_include([config-daemon.ac])
|
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
|
AC_CONFIG_FILES([Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
guix/config.scm])
|
guix/config.scm])
|
||||||
|
4
doc.am
4
doc.am
@ -33,11 +33,11 @@ DOT_OPTIONS = \
|
|||||||
-Nfontsize=9 -Nheight=.1 -Nwidth=.1
|
-Nfontsize=9 -Nheight=.1 -Nwidth=.1
|
||||||
|
|
||||||
.dot.png:
|
.dot.png:
|
||||||
dot -Tpng $(DOT_OPTIONS) < "$<" > "$@.tmp"
|
$(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$@.tmp"
|
||||||
mv "$@.tmp" "$@"
|
mv "$@.tmp" "$@"
|
||||||
|
|
||||||
.dot.eps:
|
.dot.eps:
|
||||||
dot -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp"
|
$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp"
|
||||||
mv "$@.tmp" "$@"
|
mv "$@.tmp" "$@"
|
||||||
|
|
||||||
# We cannot add new dependencies to `doc/guix.pdf' & co. (info "(automake)
|
# We cannot add new dependencies to `doc/guix.pdf' & co. (info "(automake)
|
||||||
|
Loading…
Reference in New Issue
Block a user