summaryrefslogtreecommitdiffstats
path: root/share/mk/configure/build-depends/groff/afmtodit.mk
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-04-19 15:59:40 +0200
committerAlejandro Colomar <alx@kernel.org>2024-04-19 19:52:08 +0200
commitc33f7781ccfcf49eb7daa515f4ac70ec2b8dfa03 (patch)
treec1122c33771fa4b8218cd4f2195880ce5863a656 /share/mk/configure/build-depends/groff/afmtodit.mk
parent6ffd1e71bd9a9bd9cc1c48a1c2edd1b8c34891fa (diff)
share/mk/: build-fonts-tinos: Build TinosR from TinosR.afm
And use a consistent name for it: TinosR, not TINOR. This removes the last remaining huge generated file we had in the repository. Link: <https://technicallywewrite.com/2023/09/16/addfonts> Link: <https://www.schaffter.ca/mom/momdoc/appendices.html#fonts> Cc: Jan Eden <tech@eden.one> Cc: "G. Branden Robinson" <branden@debian.org> Cc: Deri James <deri@chuzzlewit.myzen.co.uk> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'share/mk/configure/build-depends/groff/afmtodit.mk')
-rw-r--r--share/mk/configure/build-depends/groff/afmtodit.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/mk/configure/build-depends/groff/afmtodit.mk b/share/mk/configure/build-depends/groff/afmtodit.mk
new file mode 100644
index 000000000..7ffa7a092
--- /dev/null
+++ b/share/mk/configure/build-depends/groff/afmtodit.mk
@@ -0,0 +1,19 @@
+# Copyright 2024, Alejandro Colomar <alx@kernel.org>
+# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
+
+
+ifndef MAKEFILE_CONFIGURE_BUILD_DEPENDS_GROFF_AFMTODIT_INCLUDED
+MAKEFILE_CONFIGURE_BUILD_DEPENDS_GROFF_AFMTODIT_INCLUDED := 1
+
+
+PDF_TEXT_ENC := /usr/share/groff/current/font/devpdf/enc/text.enc
+PDF_TEXT_MAP := /usr/share/groff/current/font/devpdf/map/text.map
+
+
+DEFAULT_AFMTODITFLAGS :=
+EXTRA_AFMTODITFLAGS :=
+AFMTODITFLAGS := $(DEFAULT_AFMTODITFLAGS) $(EXTRA_AFMTODITFLAGS)
+AFMTODIT := afmtodit
+
+
+endif # include guard