diff options
author | Ludovic Courtès <[email protected]> | 2021-07-12 10:42:37 +0200 |
---|---|---|
committer | Ludovic Courtès <[email protected]> | 2021-07-12 10:42:37 +0200 |
commit | a6f3800173a9f89320e31424dff292df9627833f (patch) | |
tree | 10887741c345edcfeceabaa33c7cf79ef3236c9a /gnu/packages/fontutils.scm | |
parent | 6f12880a76a6c91058718d15845f8b9d9b529a5a (diff) |
gnu: fontconfig: Don't build PDFs.
* gnu/packages/fontutils.scm (fontconfig-with-documentation)[arguments]:
Add 'no-pdf-doc' phase.
Diffstat (limited to 'gnu/packages/fontutils.scm')
-rw-r--r-- | gnu/packages/fontutils.scm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm index 0ee51a792e..8ea893e7cc 100644 --- a/gnu/packages/fontutils.scm +++ b/gnu/packages/fontutils.scm @@ -8,7 +8,7 @@ ;;; Copyright © 2017 Nikita <[email protected]> ;;; Copyright © 2017, 2018, 2020, 2021 Tobias Geerinckx-Rice <[email protected]> ;;; Copyright © 2018 Ricardo Wurmus <[email protected]> -;;; Copyright © 2018, 2019, 2020 Ludovic Courtès <[email protected]> +;;; Copyright © 2018, 2019, 2020, 2021 Ludovic Courtès <[email protected]> ;;; Copyright © 2019, 2020 Marius Bakke <[email protected]> ;;; Copyright © 2020 Roel Janssen <[email protected]> ;;; Copyright © 2020 Nicolas Goaziou <[email protected]> @@ -408,6 +408,12 @@ high quality, anti-aliased and subpixel rendered text on a display.") `(delete "--disable-docs" ,configure-flags)) ((#:phases phases '%standard-phases) `(modify-phases ,phases + (add-after 'unpack 'no-pdf-doc + (lambda _ + ;; Don't build documentation as PDF. + (substitute* "doc/Makefile.in" + (("^PDF_FILES = .*") + "PDF_FILES =\n")))) (add-after 'install 'move-man-sections (lambda* (#:key outputs #:allow-other-keys) ;; Move share/man/man{3,5} to the "doc" output. Leave "man1" in |