build-system/texlive: Phases no longer return a Boolean.
* guix/build/texlive-build-system.scm (configure): Remove trailing #t. (build): Use 'for-each' instead of 'every'. (install): Remove trailing #t.master
parent
49eadd270c
commit
4cebe82fa6
|
@ -66,13 +66,12 @@
|
||||||
(setenv "error_line" "254") ; must be less than 255
|
(setenv "error_line" "254") ; must be less than 255
|
||||||
(setenv "half_error_line" "238") ; must be less than error_line - 15
|
(setenv "half_error_line" "238") ; must be less than error_line - 15
|
||||||
(setenv "max_print_line" "1000"))
|
(setenv "max_print_line" "1000"))
|
||||||
(mkdir "build")
|
(mkdir "build"))
|
||||||
#t)
|
|
||||||
|
|
||||||
(define* (build #:key inputs build-targets tex-format #:allow-other-keys)
|
(define* (build #:key inputs build-targets tex-format #:allow-other-keys)
|
||||||
(every (cut compile-with-latex tex-format <>)
|
(for-each (cut compile-with-latex tex-format <>)
|
||||||
(if build-targets build-targets
|
(if build-targets build-targets
|
||||||
(scandir "." (cut string-suffix? ".ins" <>)))))
|
(scandir "." (cut string-suffix? ".ins" <>)))))
|
||||||
|
|
||||||
(define* (install #:key outputs tex-directory #:allow-other-keys)
|
(define* (install #:key outputs tex-directory #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
@ -81,8 +80,7 @@
|
||||||
(mkdir-p target)
|
(mkdir-p target)
|
||||||
(for-each delete-file (find-files "." "\\.(log|aux)$"))
|
(for-each delete-file (find-files "." "\\.(log|aux)$"))
|
||||||
(for-each (cut install-file <> target)
|
(for-each (cut install-file <> target)
|
||||||
(find-files "build" ".*"))
|
(find-files "build" ".*"))))
|
||||||
#t))
|
|
||||||
|
|
||||||
(define %standard-phases
|
(define %standard-phases
|
||||||
(modify-phases gnu:%standard-phases
|
(modify-phases gnu:%standard-phases
|
||||||
|
|
Reference in New Issue