gnu: iniparser: Fix documentation directory.

* gnu/packages/samba.scm (iniparser)[arguments]: Install documentation to
‘/share/doc/iniparser’ instead of ‘/share/doc’.
This commit is contained in:
Tobias Geerinckx-Rice 2018-01-15 07:29:54 +01:00
parent 52e752e3c5
commit 33fa13eac1
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -5,6 +5,7 @@
;;; Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@openmailbox.org>
;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -103,7 +104,7 @@ (define-public iniparser
"1flj7srvh2hp9ls96qz922bklyhw7f27mmn23b16839zpdjddfz0"))))
(build-system gnu-build-system)
(arguments
'(#:phases
`(#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
@ -120,7 +121,7 @@ (define-public iniparser
(let* ((out (assoc-ref outputs "out"))
(lib (string-append out "/lib"))
(inc (string-append out "/include"))
(doc (string-append out "/share/doc"))
(doc (string-append out "/share/doc/" ,name))
(html (string-append doc "/html")))
(define (copy dir)
(lambda (file)