File: 0001-Install-OpenType-files-under-FONTDEST-opentype-inste.patch

package info (click to toggle)
unifont 1%3A15.0.01-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 87,908 kB
  • sloc: ansic: 4,505; perl: 1,518; makefile: 1,015; sh: 5; awk: 3
file content (31 lines) | stat: -rw-r--r-- 1,201 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Debian Fonts Task Force <debian-fonts@lists.debian.org>
Date: Tue, 27 Sep 2022 22:24:57 +0900
Subject: Install-OpenType-files-under-FONTDEST-opentype-inste

Forwarded: https://savannah.gnu.org/bugs/index.php?63072
---
 font/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/font/Makefile b/font/Makefile
index bada900..fc5bd8b 100644
--- a/font/Makefile
+++ b/font/Makefile
@@ -41,7 +41,7 @@ CONSOLEDEST = $(DESTDIR)/usr/share/consolefonts
 FONTDEST    = $(DESTDIR)/usr/share/fonts
 PCFDEST     = $(FONTDEST)/X11/misc
 TTFDEST     = $(FONTDEST)/truetype/unifont
-OTFDEST     = $(FONTDEST)/truetype/unifont
+OTFDEST     = $(FONTDEST)/opentype/unifont
 #
 # destination directory for compiled fonts
 #
@@ -690,7 +690,7 @@ install:
 	fi
 	$(INSTALL) -m0755 -d $(CONSOLEDEST)
 	$(INSTALL) -m0755 -d $(PCFDEST)
-	$(INSTALL) -m0755 -d $(TTFDEST)
+	$(INSTALL) -m0755 -d $(TTFDEST) $(OTFDEST)
 	if [ ! -d $(COMPILED_DIR) ] ; then \
 	   $(INSTALL) -m0644 -p $(CURDIR)/precompiled/Unifont-APL8x16-$(VERSION).psf.gz   $(CONSOLEDEST)/Unifont-APL8x16.psf.gz ; \
 	   $(INSTALL) -m0644 -p $(CURDIR)/precompiled/unifont-$(VERSION).pcf.gz           $(PCFDEST)/unifont.pcf.gz ; \