diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-07-07 00:29:50 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-07-07 00:29:50 +0200 |
commit | 401c53c46917f7e3e8c8fcf1d316f0c274279165 (patch) | |
tree | 1611b854ef0d8dde1065086bc75b86688be62282 /Makefile.am | |
parent | c8ebc82187d83e845a201bbe45d837c97f9c64b1 (diff) | |
download | guix-401c53c46917f7e3e8c8fcf1d316f0c274279165.tar.gz |
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.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 26 |
1 files changed, 25 insertions, 1 deletions
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 |