guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: quickjs: Remove pre-generated documentation.


From: guix-commits
Subject: 01/03: gnu: quickjs: Remove pre-generated documentation.
Date: Sun, 7 Apr 2024 04:23:56 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit f3460a82c84ffa06c3d1c7c095b91f8095c529e6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 7 09:31:43 2024 +0300

    gnu: quickjs: Remove pre-generated documentation.
    
    * gnu/packages/javascript.scm (quickjs)[source]: Add snippet to remove
    pre-generated documentation.
    
    Change-Id: Ie616fb590ff6b9e6db6c7d6cccc79d029e8e3e14
---
 gnu/packages/javascript.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/javascript.scm b/gnu/packages/javascript.scm
index c6e7443f85..8c5052ef76 100644
--- a/gnu/packages/javascript.scm
+++ b/gnu/packages/javascript.scm
@@ -2,7 +2,7 @@
 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2017, 2019, 2020, 2022, 2023 Ricardo Wurmus 
<rekado@elephly.net>
 ;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2017-2020, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017-2020, 2022-2024 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2021 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -833,7 +833,14 @@ roots, or wrestle with obscure build systems.")
                                   version ".tar.xz"))
               (sha256
                (base32
-                "06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4"))))
+                "06pywwpmfwjz225h59wf90q96a2fd66qfcw5xa6m6y9k9k7glnx4"))
+              (snippet
+               #~(begin (use-modules (guix build utils))
+                        (for-each delete-file
+                                  '("doc/quickjs.pdf"
+                                    "doc/quickjs.html"
+                                    "doc/jsbignum.pdf"
+                                    "doc/jsbignum.html"))))))
     (build-system gnu-build-system)
     (arguments
      (list #:make-flags



reply via email to

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