summary refs log tree commit diff
path: root/gnu/packages/version-control.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-07-18 13:52:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-07-18 13:52:23 +0300
commit548b7b182fcaea5acb5601be718899d92a0d10af (patch)
tree6772cad1c023141eadbf11dda256bd76e567b3db /gnu/packages/version-control.scm
parent4ca19e88de3dd634b08a5c08dbb3d6e9957dbe83 (diff)
downloadguix-548b7b182fcaea5acb5601be718899d92a0d10af.tar.gz
gnu: tig: Rebuild some of the generated documentation.
* gnu/packages/version-control.scm (tig)[source]: Add snippet to remove
some of the generated documentation.
Diffstat (limited to 'gnu/packages/version-control.scm')
-rw-r--r--gnu/packages/version-control.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 2848bcb146..b38fb41434 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2447,7 +2447,12 @@ from Subversion to any supported Distributed Version Control System (DVCS).")
                     version "/tig-" version ".tar.gz"))
               (sha256
                (base32
-                "0pwn7mlfnd5ngcbagjs9vsr7jgmia8676p0i91vvfl4v6qrmzfsh"))))
+                "0pwn7mlfnd5ngcbagjs9vsr7jgmia8676p0i91vvfl4v6qrmzfsh"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; TODO: Delete and rebuild doc/*.(1|5|7).
+                  (for-each delete-file (find-files "doc" "\\.html$"))))))
     (build-system gnu-build-system)
     (native-inputs
      (list asciidoc xmlto))