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.
This commit is contained in:
Ludovic Courtès 2015-01-06 15:20:12 +01:00
parent 1c38551a36
commit d976258907
1 changed files with 6 additions and 6 deletions

View File

@ -236,14 +236,14 @@ everything from small to very large projects with speed and efficiency.")
(begin (begin
(use-modules (guix build utils)) (use-modules (guix build utils))
(let* ((xz (assoc-ref %build-inputs "xz")) (let* ((xz (assoc-ref %build-inputs "xz"))
(tar (assoc-ref %build-inputs "tar")) (tar (assoc-ref %build-inputs "tar"))
(out (assoc-ref %outputs "out")) (out (assoc-ref %outputs "out"))
(share (string-append out "/share"))) (man (string-append out "/share/man")))
(setenv "PATH" (string-append tar "/bin:" xz "/bin")) (setenv "PATH" (string-append tar "/bin:" xz "/bin"))
(mkdir-p share) (mkdir-p man)
(with-directory-excursion share (with-directory-excursion man
(zero? (system* "tar" "xvf" (zero? (system* "tar" "xvf"
(assoc-ref %build-inputs "source")))))))) (assoc-ref %build-inputs "source"))))))))