mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: roffit: Adjust install phase.
* gnu/packages/groff.scm (roffit)[arguments]: Remove make-flags. Remove custom 'pre-install phase. Replace 'install phase to also install manpage.
This commit is contained in:
parent
8aea855ac1
commit
af4c633bbb
1 changed files with 5 additions and 7 deletions
|
@ -191,17 +191,15 @@ (define-public roffit
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:test-target "test"
|
||||
#:make-flags
|
||||
(list (string-append "INSTALLDIR="
|
||||
(assoc-ref %outputs "out") "/bin"))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(add-before 'install 'pre-install
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(mkdir-p (string-append (assoc-ref outputs "out")
|
||||
"/bin"))
|
||||
#t))
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(install-file "roffit" (string-append out "/bin"))
|
||||
(install-file "roffit.1" (string-append out "/share/man/man1"))
|
||||
#t)))
|
||||
(add-after 'install 'wrap-program
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
|
|
Loading…
Reference in a new issue