You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

54 lines
1.8 KiB

  1. # GNU Guix --- Functional package management for GNU
  2. # Copyright © 2012, 2013 Ludovic Courtès <ludo@gnu.org>
  3. # Copyright © 2013 Andreas Enge <andreas@enge.fr>
  4. #
  5. # This file is part of GNU Guix.
  6. #
  7. # GNU Guix is free software; you can redistribute it and/or modify it
  8. # under the terms of the GNU General Public License as published by
  9. # the Free Software Foundation; either version 3 of the License, or (at
  10. # your option) any later version.
  11. #
  12. # GNU Guix is distributed in the hope that it will be useful, but
  13. # WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. # GNU General Public License for more details.
  16. #
  17. # You should have received a copy of the GNU General Public License
  18. # along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  19. info_TEXINFOS = doc/guix.texi
  20. EXTRA_DIST += \
  21. doc/fdl-1.3.texi \
  22. doc/images/bootstrap-graph.dot \
  23. doc/images/bootstrap-graph.eps \
  24. doc/images/bootstrap-graph.pdf
  25. infoimagedir = $(infodir)/images
  26. dist_infoimage_DATA = doc/images/bootstrap-graph.png
  27. # Try hard to obtain an image size and aspect that's reasonable for inclusion
  28. # in an Info or PDF document.
  29. DOT_OPTIONS = \
  30. -Gratio=.9 -Gnodesep=.005 -Granksep=.00005 \
  31. -Nfontsize=9 -Nheight=.1 -Nwidth=.1
  32. .dot.png:
  33. $(DOT) -Tpng $(DOT_OPTIONS) < "$<" > "$@.tmp"
  34. mv "$@.tmp" "$@"
  35. .dot.pdf:
  36. $(DOT) -Tpdf $(DOT_OPTIONS) < "$<" > "$@.tmp"
  37. mv "$@.tmp" "$@"
  38. .dot.eps:
  39. $(DOT) -Teps $(DOT_OPTIONS) < "$<" > "$@.tmp"
  40. mv "$@.tmp" "$@"
  41. # We cannot add new dependencies to `doc/guix.pdf' & co. (info "(automake)
  42. # Extending"). Using the `-local' rules is imperfect, because they may be
  43. # triggered after the main rule. Oh, well.
  44. pdf-local: $(top_srcdir)/doc/images/bootstrap-graph.pdf
  45. info-local: $(top_srcdir)/doc/images/bootstrap-graph.png
  46. ps-local: $(top_srcdir)/doc/images/bootstrap-graph.eps