gnu: uthash: Fix documentation directory.

* gnu/packages/datastructures.scm (uthash)[arguments]: Install documentation to a versioned directory.
This commit is contained in:
Tobias Geerinckx-Rice 2020-04-13 04:40:09 +02:00
parent b9cd405666
commit 6655e2e238
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -181,7 +181,7 @@ (define-public uthash
;; There is no top-level Makefile to do this for us.
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(doc (string-append out "/share/doc/" ,name))
(doc (string-append out "/share/doc/" ,name "-" ,version))
(include (string-append out "/include")))
;; Don't install HTML files: they're just the below .txt files
;; dolled up, can be stale, and regeneration requires asciidoc.