~ruther/guix-local

02c72d167116fb56360cbe7f9b80a8b33284ae6f — Ludovic Courtès 12 years ago a433c52
build: Build the bootstrap-graph.{png,eps,pdf} under $(top_srcdir).

Fixes <http://bugs.gnu.org/15640>.
Reported by Eric Bavier <ericbavier@gmail.com>.

* doc.am (EXTRA_DIST): Add doc/images/bootstrap-graph.pdf to the
  distribution.
  (pdf-local, info-local, ps-local): Prepend $(top_srcdir) to the image
  file names.
1 files changed, 5 insertions(+), 4 deletions(-)

M doc.am
M doc.am => doc.am +5 -4
@@ 21,7 21,8 @@ info_TEXINFOS = doc/guix.texi
EXTRA_DIST +=					\
  doc/fdl-1.3.texi				\
  doc/images/bootstrap-graph.dot		\
  doc/images/bootstrap-graph.eps
  doc/images/bootstrap-graph.eps		\
  doc/images/bootstrap-graph.pdf

infoimagedir = $(infodir)/images
dist_infoimage_DATA = doc/images/bootstrap-graph.png


@@ 47,6 48,6 @@ DOT_OPTIONS =					\
# 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: doc/images/bootstrap-graph.pdf
info-local: doc/images/bootstrap-graph.png
ps-local: doc/images/bootstrap-graph.eps
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