mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-19 23:55:54 +02:00
gnu: exim: Add documentation.
* gnu/packages/mail.scm (exim): Add documentation to package output. Change-Id: I1112e315a2ca949252f2442f7395466efe9f4230 Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
+10
-1
@@ -63,6 +63,7 @@
|
||||
;;; Copyright © 2025 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||
;;; Copyright © 2025 Jelle Licht <jlicht@fsfe.org>
|
||||
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2025 Zacchaeus <eikcaz@zacchae.us>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@@ -2150,7 +2151,15 @@ delivery.")
|
||||
;; same source tree and varies across different (parallel?)
|
||||
;; builds. Make it a ‘constant number’ instead.
|
||||
(substitute* "src/version.c"
|
||||
(("#include \"cnumber.h\"") "1")))))
|
||||
(("#include \"cnumber.h\"") "1"))))
|
||||
(add-after 'build 'install-docs
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Compiling spec.info requires us to build from git
|
||||
;; instead of the exim tarball. Add spec.txt instead.
|
||||
(install-file "doc/spec.txt"
|
||||
(string-append (assoc-ref outputs "out")
|
||||
"/share/doc/"
|
||||
#$name "-" #$version)))))
|
||||
#:make-flags
|
||||
#~(list (string-append "CC=" #$(cc-for-target))
|
||||
"INSTALL_ARG=-no_chown")
|
||||
|
||||
Reference in New Issue
Block a user