From 401c53c46917f7e3e8c8fcf1d316f0c274279165 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 7 Jul 2013 00:29:50 +0200 Subject: doc: Add a "Boostrapping" section. * doc/guix.texi (Package Modules): New node, with material formerly under "GNU Distribution". (Bootstrapping): New node. * Makefile.am (EXTRA_DIST): Add doc/images/bootstrap-graph.dot and doc/images/bootstrap-graph.eps. (infoimagedir, dist_infoimage_DATA, DOT_OPTIONS): New variable. (.dot.png, .dot.eps, doc/guix.pdf, doc/guix.info, doc/guix.ps): New targets. * doc/images/bootstrap-graph.dot: New file. --- Makefile.am | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 9faa6544ea..ee6d023988 100644 --- a/Makefile.am +++ b/Makefile.am @@ -169,7 +169,31 @@ $(guix_install_go_files): install-nobase_dist_guilemoduleDATA SUBDIRS = po info_TEXINFOS = doc/guix.texi -EXTRA_DIST += doc/fdl-1.3.texi +EXTRA_DIST += \ + doc/fdl-1.3.texi \ + doc/images/bootstrap-graph.dot \ + doc/images/bootstrap-graph.eps + +infoimagedir = $(infodir)/images +dist_infoimage_DATA = doc/images/bootstrap-graph.png + +# Try hard to obtain an image size and aspect that's reasonable for inclusion +# in an Info or PDF document. +DOT_OPTIONS = \ + -Tpng -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \ + -Nfontsize=9 -Nheight=.1 -Nwidth=.1 + +.dot.png: + dot -Tpng $(DOT_OPTIONS) < "$<" > "$@.tmp" + mv "$@.tmp" "$@" + +.dot.eps: + dot -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp" + mv "$@.tmp" "$@" + +doc/guix.pdf: doc/images/bootstrap-graph.png +doc/guix.info: doc/images/bootstrap-graph.png +doc/guix.ps: doc/images/bootstrap-graph.eps if BUILD_DAEMON -- cgit v1.2.3