summaryrefslogtreecommitdiffstats
path: root/hacks/fonts/Makefile.in
blob: 193ecec01e63c11ecaa9b1c6cd90b32500b55618 (plain) (blame)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# hacks/fonts/Makefile.in --- xscreensaver, Copyright © 2021 Jamie Zawinski.
# the `../configure' script generates `hacks/fonts/Makefile' from this file.

@SET_MAKE@
srcdir		= @srcdir@
VPATH		= ${srcdir}
top_srcdir	= @top_srcdir@
top_builddir	= ..

install_prefix	=
prefix		= @prefix@
datarootdir	= @datarootdir@
datadir		= @datadir@
FONT_DIR	= @FONT_DIR@

RM		= rm -f

STAR		= *
TARFILES	= Makefile.in \
		  $(STAR).ttf \
		  $(STAR).otf

INSTALL		= @INSTALL@
INSTALL_DATA	= @INSTALL_DATA@
INSTALL_DIRS	= @INSTALL_DIRS@

# "Classic Console" is a reproduction of the MS-DOS 8x16 VGA font by
# Deejayy. Freely redistributable. http://webdraft.hu/fonts/classic-console/
# It us used by BSOD.
#
# "Gallant" was the original Solaris 2.x console font.  It is used by BSOD.
#
# "Luxi Mono" was the Red Hat console font; it is very similar to "Gallant".
# Also used by BSOD.
#
# "OCR-A Std" is the ANSI Standard Optical Character Recognition font,
# ANSI X3.17-1981 / ISO 1073-1:1976.  It is used by Esper, MemScroller,
# Carousel and Photopile.
#
# "Special Elite Regular" is a typewriter font by Astigmatic One Eye
# Typographic Institute, Brian J. Bonislawsky.  Apache 2.0 license.
# https://www.1001fonts.com/special-elite-font.html
# Used by XJack.
#
FONTS		= clacon.ttf \
		  gallant12x22.ttf \
		  luximr.ttf \
		  OCRAStd.otf \
		  SpecialElite.ttf

default: all

all:
clean:
distclean:: clean
	-rm -f Makefile TAGS *~ "#"*

list_tarfiles:
	@find $(TARFILES) -type f -print | sort

install:: install-fonts
install-fonts:
	@if [ -z "$(FONT_DIR)" ]; then					\
	   echo "not installing fonts" ;				\
	 else								\
	   dest="$(install_prefix)$(FONT_DIR)" ;			\
	   if [ ! -d "$$dest" ]; then					\
	     echo $(INSTALL_DIRS) "$$dest" ;				\
		  $(INSTALL_DIRS) "$$dest" ;				\
	   fi ;								\
	   for f in $(FONTS) ; do					\
	     echo $(INSTALL_DATA) $$f $$dest/$$f ;			\
		  $(INSTALL_DATA) $$f $$dest/$$f ;			\
	   done ;							\
	 fi

uninstall:: uninstall-fonts
uninstall-fonts:
	@if ! [ -z "$(FONT_DIR)" ]; then				\
	   dest="$(install_prefix)$(FONT_DIR)" ;			\
	   for f in $(FONTS) ; do					\
	     echo $(RM) $$dest/$$f ;					\
		  $(RM) $$dest/$$f ;					\
	   done ;							\
	   rmdir "$(install_prefix)$(FONT_DIR)" ;			\
	   exit 0 ;							\
	 fi

install-program:
install-man:
install-strip:
uninstall-program:
uninstall-man:
depend:
distdepend:
tags: