summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2016-09-10 22:36:51 +0300
committerEfraim Flashner <efraim@flashner.co.il>2016-09-10 22:39:46 +0300
commit2203e4c2798b91915ec6fc34b1222f8eee9a89c7 (patch)
tree01042474c232a2ff3df90fbb743e32e3c22acd8c
parentd0e11e8b52a27fee4c04e0e063edf54b4724b330 (diff)
downloadguix-2203e4c2798b91915ec6fc34b1222f8eee9a89c7.tar.gz
gnu: tig: Install man pages.
* gnu/packages/version-control.scm (tig)[native-inputs]: Add asciidoc, xmlto.
-rw-r--r--gnu/packages/version-control.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c342b938c2..29559bd9b3 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1060,11 +1060,19 @@ from Subversion to any supported Distributed Version Control System (DVCS).")
                (base32
                 "0k3m894vfkgkj7xbr0j6ph91351dl6id5f0hk2ksjp5lmg9i6llg"))))
     (build-system gnu-build-system)
+    (native-inputs
+     `(("asciidoc" ,asciidoc)
+       ("xmlto" ,xmlto)))
     (inputs
      `(("ncurses" ,ncurses)
        ("readline" ,readline)))
     (arguments
-     `(#:tests? #f)) ; tests require access to /dev/tty
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'install 'install-doc
+           (lambda _
+             (zero? (system* "make" "install-doc")))))
+       #:tests? #f)) ; tests require access to /dev/tty
      ;;`(#:test-target "test"))
     (home-page "http://jonas.nitro.dk/tig/")
     (synopsis "Ncurses-based text user interface for Git")