[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65611] [PATCH v2] gnu: emacs-dired-preview: Add Info manual.
From: |
fernseed |
Subject: |
[bug#65611] [PATCH v2] gnu: emacs-dired-preview: Add Info manual. |
Date: |
Wed, 30 Aug 2023 14:25:17 -0400 |
From: Kierin Bell <fernseed@fernseed.me>
* gnu/packages/emacs-xyz.scm (emacs-dired-preview): Add Info manual.
---
Didn't see this pushed yet either. Updated as per Liliana's suggestion.
gnu/packages/emacs-xyz.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3eaf215134..62fc008bb2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -27347,6 +27347,18 @@ (define-public emacs-dired-preview
(base32
"0d485812k1rv0qrw4xvzv4z3qf370apsajnf4q3pjk3q0r1fpm8b"))))
(build-system emacs-build-system)
+ (native-inputs (list texinfo))
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'makeinfo
+ (lambda _
+ (emacs-batch-edit-file "README.org"
+ "(progn (require 'ox-texinfo) (org-texinfo-export-to-info))")
+ (install-file "dired-preview.info"
+ (string-append #$output
+ "/share/info")))))))
(home-page "https://protesilaos.com/emacs/dired-preview")
(synopsis "Automatically preview file at point in Dired")
(description
base-commit: 9f4b6bcb5c548f9206b89270b13da54abdff31b1
--
2.41.0