aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-10-18 22:05:39 +0200
committerLudovic Courtès <ludo@gnu.org>2013-10-18 22:05:39 +0200
commit02c72d167116fb56360cbe7f9b80a8b33284ae6f (patch)
treebeb73e1ec33b5bfd9edc13d5e2ddac32c96f8518
parenta433c52593b825e57edb96f88f49f05b07ca7d4a (diff)
downloadgnu-guix-02c72d167116fb56360cbe7f9b80a8b33284ae6f.tar
gnu-guix-02c72d167116fb56360cbe7f9b80a8b33284ae6f.tar.gz
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.
-rw-r--r--doc.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc.am b/doc.am
index 226860b5a4..6cbc35a8cc 100644
--- a/doc.am
+++ b/doc.am
@@ -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