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
1 changed files with 11 additions and 7 deletions

View File

@ -892,13 +892,17 @@ Computers & Typesetting series.")
(string-append (getcwd) ":"
mf "/share/texmf-dist/metafont/base")))
(mkdir "build")
(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 manfnt"))))
"input " font)))
(find-files "." "(manfnt|logo.+)\\.mf$"))
#t))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))