summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-02-15 13:06:34 -0500
committerLeo Famulari <leo@famulari.name>2017-02-15 13:08:10 -0500
commit6fb9e069b05e12ff75dd098e7dc65a8c7007176c (patch)
tree3e2d5fa925af6451ca988500633a00279fb3cfce
parentb611d018279cac36ffd6ceab5f970bca8069153c (diff)
downloadguix-6fb9e069b05e12ff75dd098e7dc65a8c7007176c.tar.gz
gnu: gptfdisk: Install the documentation.
* gnu/packages/disk.scm (gptfdisk)[arguments]: Install the manpages.
-rw-r--r--gnu/packages/disk.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 2d1cb14d79..ec9632faca 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -139,11 +139,17 @@ tables, and it understands a variety of different formats.")
          ;; no install target
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
-             (let ((bin (string-append (assoc-ref outputs "out") "/bin")))
+             (let* ((out (assoc-ref outputs "out"))
+                    (bin (string-append out "/bin"))
+                    (man (string-append out "/share/man/man8")))
                (install-file "gdisk" bin)
                (install-file "sgdisk" bin)
                (install-file "cgdisk" bin)
-               (install-file "fixparts" bin)))))))
+               (install-file "fixparts" bin)
+               (install-file "cgdisk.8" man)
+               (install-file "fixparts.8" man)
+               (install-file "gdisk.8" man)
+               (install-file "sgdisk.8" man)))))))
     (home-page "http://www.rodsbooks.com/gdisk/")
     (synopsis "Low-level GPT disk partitioning and formatting")
     (description "GPT fdisk (aka gdisk) is a text-mode partitioning tool that