This is an automated email from the git hooks/post-receive script.

dannym pushed a commit to branch wip-desktop
in repository guix.

The following commit(s) were added to refs/heads/wip-desktop by this push:
     new 76f5c9d  gnu: openjade: Install manual page.
76f5c9d is described below

commit 76f5c9dba2d426a589d3750b5b2a355956a160b7
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Sun Jul 26 17:24:06 2020 +0200

    gnu: openjade: Install manual page.
    
    * gnu/packages/xml.scm (openjade)[arguments]<#:phases>[install-manual-page]:
    New phase.
---
 gnu/packages/xml.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 0c2d630..a82d89e 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -103,6 +103,11 @@
                 "use Getopt::Std;")
                (("&Getopts")
                 "getopts"))
+             #t))
+         (add-after 'install 'install-manual-page
+           (lambda* (#:key outputs #:allow-other-keys)
+             (install-file "docsrc/openjade.1"
+              (string-append (assoc-ref outputs "out") "/share/man/man1"))
              #t)))))
     (native-inputs
      `(("perl" ,perl)))

Reply via email to