guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: tig: Rebuild some of the generated documentation.


From: guix-commits
Subject: 03/03: gnu: tig: Rebuild some of the generated documentation.
Date: Mon, 18 Jul 2022 06:59:54 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 548b7b182fcaea5acb5601be718899d92a0d10af
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Jul 18 13:52:23 2022 +0300

    gnu: tig: Rebuild some of the generated documentation.
    
    * gnu/packages/version-control.scm (tig)[source]: Add snippet to remove
    some of the generated documentation.
---
 gnu/packages/version-control.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]