[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: graphviz: Add "doc" output.
From: |
Efraim Flashner |
Subject: |
07/08: gnu: graphviz: Add "doc" output. |
Date: |
Thu, 01 Oct 2015 16:50:38 +0000 |
efraim pushed a commit to branch master
in repository guix.
commit 88377435caf28768ce29bba1de5e664166a404dc
Author: Efraim Flashner <address@hidden>
Date: Wed Sep 30 20:20:16 2015 +0300
gnu: graphviz: Add "doc" output.
* gnu/packages/graphviz.scm (graphviz)[outputs, arguments]: New fields.
---
gnu/packages/graphviz.scm | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index e1eb654..09f475b 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015 Ludovic Courtès <address@hidden>
+;;; Copyright © 2015 Efraim Flashner <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -59,7 +60,16 @@
(substitute* "lib/gvc/Makefile"
(("am__append_5 *=.*")
"am_append_5 =\n")))
- %standard-phases)))
+ (alist-cons-after
+ 'install 'move-docs
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (doc (assoc-ref outputs "doc")))
+ (mkdir-p (string-append doc "/share/graphviz"))
+ (rename-file (string-append out
"/share/graphviz/doc")
+ (string-append doc
"/share/graphviz/doc"))
+ #t))
+ %standard-phases))))
(inputs
`(("libXrender" ,libxrender)
("libX11" ,libx11)
@@ -76,6 +86,7 @@
(native-inputs
`(("bison" ,bison)
("pkg-config" ,pkg-config)))
+ (outputs '("out" "doc")) ; 5 MiB of html + pdfs
(home-page "http://www.graphviz.org/")
(synopsis "Graph visualization software")
(description
- branch master updated (d032d96 -> cfd745d), Efraim Flashner, 2015/10/08
- 08/08: gnu: powertop: Update to 2.7., Efraim Flashner, 2015/10/08
- 06/08: gnu: graphviz: Update to 2.38.0., Efraim Flashner, 2015/10/08
- 07/08: gnu: graphviz: Add "doc" output.,
Efraim Flashner <=
- 02/08: gnu: terminology: Update to 0.9.1., Efraim Flashner, 2015/10/08
- 03/08: gnu: youtube-dl: Update to 2015.09.28., Efraim Flashner, 2015/10/08
- 04/08: gnu: mpv: Update to 0.11.0., Efraim Flashner, 2015/10/08
- 01/08: gnu: enlightenment: Update to 0.19.11., Efraim Flashner, 2015/10/08
- 05/08: gnu: mpg123: Update to 1.22.4., Efraim Flashner, 2015/10/08