gnu: mcelog: Fix unversioned DOCDIR.

* gnu/packages/linux.scm (mcelog)[arguments]: VERSION DOCDIR.
This commit is contained in:
Tobias Geerinckx-Rice 2020-06-06 06:24:00 +02:00
parent 2bf0a5cbae
commit df305cea48
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -5496,7 +5496,8 @@ (define-public mcelog
#:make-flags (let ((out (assoc-ref %outputs "out")))
(list "CC=gcc"
(string-append "prefix=" out)
(string-append "DOCDIR=" out "/share/doc/mcelog")
(string-append "DOCDIR=" out "/share/doc/"
,name "-" ,version)
"etcprefix=$(DOCDIR)/examples"))
;; The tests will only run as root on certain supported CPU models.
#:tests? #f))