me
/
guix
Archived
1
0
Fork 0

gnu: ledger: Install example referenced in docs.

* gnu/packages/finance.scm (ledger)[arguments]: In 'install-examples'
phase, install 'contrib/report'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Frank Pursel 2023-01-04 07:21:00 -08:00 committed by Ludovic Courtès
parent f85865a05a
commit a85d6dd4db
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,7 @@
;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com> ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca> ;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li> ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -350,7 +351,8 @@ and dynamically with report tools based on filtering and graphical charts.")
(let ((examples (string-append (assoc-ref outputs "out") (let ((examples (string-append (assoc-ref outputs "out")
"/share/doc/ledger/examples"))) "/share/doc/ledger/examples")))
(install-file "test/input/sample.dat" examples) (install-file "test/input/sample.dat" examples)
(install-file "test/input/demo.ledger" examples)) (install-file "test/input/demo.ledger" examples)
(install-file "contrib/report" examples))
#t)) #t))
(add-after 'build 'build-doc (add-after 'build 'build-doc
(lambda _ (invoke "make" "doc"))) (lambda _ (invoke "make" "doc")))