From 6d57723ac8d63c0f303495e3f37f5e3a4a13849c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 13 Mar 2017 17:52:12 +0100 Subject: gnu: grue-hunter: Correctly install documentation. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/games.scm (grue-hunter)[arguments]: Install and populate ‘/share/doc/grue-hunter’ as a directory, not a plain file. --- gnu/packages/games.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 1ce18658d0..f8152e0184 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -2528,7 +2528,8 @@ (define-public grue-hunter "/bin/tar")) (out (assoc-ref %outputs "out")) (bin (string-append out "/bin")) - (doc (string-append out "/share/doc"))) + (doc (string-append out + "/share/doc/grue-hunter"))) (begin (mkdir out) (copy-file tarball "grue-hunter.tar.gz") @@ -2542,8 +2543,7 @@ (define-public grue-hunter (list perl)) (mkdir-p doc) - (copy-file "grue-hunter/AGPLv3.txt" - (string-append doc "/grue-hunter"))))))) + (install-file "grue-hunter/AGPLv3.txt" doc)))))) (inputs `(("perl" ,perl) ("tar" ,tar) ("gzip" ,gzip) -- cgit v1.2.3