diff options
author | ng0 <ng0@infotropique.org> | 2017-09-26 15:02:16 +0000 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-09-26 15:02:16 +0000 |
commit | 708243c5cde30321231576947171bd1458c70780 (patch) | |
tree | e489081ce1a9092c29cea5600ba32e220021cbd2 /contrib | |
parent | 504c048c9b1350c7259a54e317c1140ce194edca (diff) | |
download | gnunet-708243c5cde30321231576947171bd1458c70780.tar.gz gnunet-708243c5cde30321231576947171bd1458c70780.zip |
some more changes in doc.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/packages/guix/gnunet-doc.scm | 41 |
1 files changed, 25 insertions, 16 deletions
diff --git a/contrib/packages/guix/gnunet-doc.scm b/contrib/packages/guix/gnunet-doc.scm index d12de10a2..a988e1125 100644 --- a/contrib/packages/guix/gnunet-doc.scm +++ b/contrib/packages/guix/gnunet-doc.scm | |||
@@ -46,6 +46,7 @@ | |||
46 | (gnu packages gstreamer) | 46 | (gnu packages gstreamer) |
47 | (gnu packages gtk) | 47 | (gnu packages gtk) |
48 | (gnu packages guile) | 48 | (gnu packages guile) |
49 | (gnu packages graphviz) | ||
49 | (gnu packages image) | 50 | (gnu packages image) |
50 | (gnu packages image-viewers) | 51 | (gnu packages image-viewers) |
51 | (gnu packages libidn) | 52 | (gnu packages libidn) |
@@ -123,6 +124,7 @@ | |||
123 | ("autoconf" ,autoconf) | 124 | ("autoconf" ,autoconf) |
124 | ("automake" ,automake) | 125 | ("automake" ,automake) |
125 | ("gnu-gettext" ,gnu-gettext) | 126 | ("gnu-gettext" ,gnu-gettext) |
127 | ("graphviz" ,graphviz) ; dot | ||
126 | ("texinfo-5" ,texinfo-5) ; Debian stable | 128 | ("texinfo-5" ,texinfo-5) ; Debian stable |
127 | ("libtool" ,libtool))) | 129 | ("libtool" ,libtool))) |
128 | (arguments | 130 | (arguments |
@@ -141,22 +143,29 @@ | |||
141 | (chdir "doc") | 143 | (chdir "doc") |
142 | (zero? (system* "make" "doc-all-give-me-the-noise")))) | 144 | (zero? (system* "make" "doc-all-give-me-the-noise")))) |
143 | (replace 'install | 145 | (replace 'install |
144 | (lambda* (#:key outputs #:allow-other-keys) | 146 | (lambda _ |
145 | (let* ((out (assoc-ref outputs "out")) | 147 | (zero? (system* "make" "doc-all-install"))))))) |
146 | (doc (string-append out "/share/doc/gnunet"))) | 148 | ;;(lambda* (#:key outputs #:allow-other-keys) |
147 | (mkdir-p doc) | 149 | ;; (let* ((out (assoc-ref outputs "out")) |
148 | (mkdir-p (string-append doc "/gnunet")) | 150 | ;; (doc (string-append out "/share/doc/gnunet"))) |
149 | (install-file "gnunet.pdf" doc) | 151 | ;; (mkdir-p doc) |
150 | (install-file "gnunet.info" doc) | 152 | ;; (copy-recursively "images" |
151 | (copy-recursively "gnunet" | 153 | ;; (string-append doc |
152 | (string-append doc | 154 | ;; "/images")) |
153 | "/gnunet")) | 155 | ;; (mkdir-p (string-append doc "/gnunet")) |
154 | (install-file "gnunet-c-tutorial.pdf" doc) | 156 | ;; (install-file "gnunet.pdf" doc) |
155 | (install-file "gnunet-c-tutorial.info" doc) | 157 | ;; (install-file "gnunet.info" doc) |
156 | (copy-recursively "gnunet-c-tutorial" | 158 | ;; (install-file "gnunet.log" doc) ;TODO: Move to 'dev' output? |
157 | (string-append doc | 159 | ;; (copy-recursively "gnunet" |
158 | "/gnunet-c-tutorial"))) | 160 | ;; (string-append doc |
159 | #t))))) | 161 | ;; "/gnunet")) |
162 | ;; (install-file "gnunet-c-tutorial.pdf" doc) | ||
163 | ;; (install-file "gnunet-c-tutorial.info" doc) | ||
164 | ;; (install-file "gnunet-c-tutorial.log" doc) ;TODO: Move to 'dev' output? | ||
165 | ;; (copy-recursively "gnunet-c-tutorial" | ||
166 | ;; (string-append doc | ||
167 | ;; "/gnunet-c-tutorial"))) | ||
168 | ;; #t))))) | ||
160 | (synopsis "Documentation of GNUnet") | 169 | (synopsis "Documentation of GNUnet") |
161 | (description | 170 | (description |
162 | "GNUnet documentation build") | 171 | "GNUnet documentation build") |