gnu: texlive-fonts-knuth-lib: Build all tfm files.

* gnu/packages/tex.scm (texlive-fonts-knuth-lib)[arguments]: Build all tfm
files in "build" phase.
This commit is contained in:
Ricardo Wurmus 2019-03-01 19:21:18 +01:00
parent 5e9bf5a2e0
commit 96f5377d5e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -892,13 +892,17 @@ (define-public texlive-fonts-knuth-lib
(string-append (getcwd) ":"
mf "/share/texmf-dist/metafont/base")))
(mkdir "build")
(invoke "mf" "-progname=mf"
"-output-directory=build"
(string-append "\\"
"mode:=ljfour; "
"mag:=1; "
"batchmode; "
"input manfnt"))))
(for-each (lambda (font)
(format #t "building font ~a\n" font)
(invoke "mf" "-progname=mf"
"-output-directory=build"
(string-append "\\"
"mode:=ljfour; "
"mag:=1; "
"batchmode; "
"input " font)))
(find-files "." "(manfnt|logo.+)\\.mf$"))
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))