3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

build: Build coreutils-size-map.eps for the sake of the PS and DVI outputs.

* doc.am (EXTRA_DIST): Add coreutils-size-map.eps.
  (.png.eps): New rule.
  (ps-local): Add dependency on coreutils-size-map.eps.
  (dvi-local): New target.
This commit is contained in:
Ludovic Courtès 2015-07-19 21:55:21 +02:00
parent 1c2ae81080
commit 66c8ea4738

9
doc.am
View file

@ -25,6 +25,7 @@ EXTRA_DIST += \
doc/images/bootstrap-graph.dot \
doc/images/bootstrap-graph.eps \
doc/images/bootstrap-graph.pdf \
doc/images/coreutils-size-map.eps \
doc/environment-gdb.scm
OS_CONFIG_EXAMPLES_TEXI = \
@ -63,12 +64,18 @@ DOT_OPTIONS = \
$(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp"
mv "$@.tmp" "$@"
.png.eps:
convert "$<" "$@-tmp.eps"
mv "$@-tmp.eps" "$@"
# We cannot add new dependencies to `doc/guix.pdf' & co. (info "(automake)
# Extending"). Using the `-local' rules is imperfect, because they may be
# triggered after the main rule. Oh, well.
pdf-local: $(top_srcdir)/doc/images/bootstrap-graph.pdf
info-local: $(top_srcdir)/doc/images/bootstrap-graph.png
ps-local: $(top_srcdir)/doc/images/bootstrap-graph.eps
ps-local: $(top_srcdir)/doc/images/bootstrap-graph.eps \
$(top_srcdir)/doc/images/coreutils-size-map.eps
dvi-local: ps-local
# Manual pages.