summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-06 15:20:12 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-06 15:20:12 +0100
commitd97625890763b9ea18f6246a845421bcba031793 (patch)
tree77da382154f94aa57b34a7d4b8bb4b9dd3b28500
parent1c38551a36ef32609a9fd4eb13663f0311247655 (diff)
downloadguix-d97625890763b9ea18f6246a845421bcba031793.tar.gz
gnu: git-manpages: Install under $out/share/man, not $out/share.
* gnu/packages/version-control.scm (git-manpages)[argument]: Install
  under $out/share/man, not $out/share.
-rw-r--r--gnu/packages/version-control.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 0589ac30a1..dd41794b39 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -236,14 +236,14 @@ everything from small to very large projects with speed and efficiency.")
        (begin
          (use-modules (guix build utils))
 
-         (let* ((xz    (assoc-ref %build-inputs "xz"))
-                (tar   (assoc-ref %build-inputs "tar"))
-                (out   (assoc-ref %outputs "out"))
-                (share (string-append out "/share")))
+         (let* ((xz  (assoc-ref %build-inputs "xz"))
+                (tar (assoc-ref %build-inputs "tar"))
+                (out (assoc-ref %outputs "out"))
+                (man (string-append out "/share/man")))
            (setenv "PATH" (string-append tar "/bin:" xz "/bin"))
 
-           (mkdir-p share)
-           (with-directory-excursion share
+           (mkdir-p man)
+           (with-directory-excursion man
              (zero? (system* "tar" "xvf"
                              (assoc-ref %build-inputs "source"))))))))