build: font-build-system: Install web fonts.
* guix/build/font-build-system.scm (install): Install woff and woff2 web font files.
This commit is contained in:
parent
33253b562a
commit
0c272b6e7a
@ -1,5 +1,5 @@
|
|||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2017, 2022 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
|
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
@ -54,6 +54,8 @@ archive, or a font file."
|
|||||||
(find-files source "\\.(ttf|ttc)$"))
|
(find-files source "\\.(ttf|ttc)$"))
|
||||||
(for-each (cut install-file <> (string-append fonts "/opentype"))
|
(for-each (cut install-file <> (string-append fonts "/opentype"))
|
||||||
(find-files source "\\.(otf|otc)$"))
|
(find-files source "\\.(otf|otc)$"))
|
||||||
|
(for-each (cut install-file <> (string-append fonts "/web"))
|
||||||
|
(find-files source "\\.(woff|woff2)$"))
|
||||||
#t))
|
#t))
|
||||||
|
|
||||||
(define %standard-phases
|
(define %standard-phases
|
||||||
|
Loading…
Reference in New Issue
Block a user