blob: 884a6dac2ea7957fceea8b94129737bc85403b06 (
plain)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
## Makefile for the installation of the `concrete' fonts:
##
## 1999-03-15, Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## Usage:
##
## say 'make install' to install the fonts
##
### package specifics (don't change!):
# package name, used in directories
SUPPLIER = public
TYPEFACE = concrete
# file names, used in dependencies
MFFILES = \
odigs.mf \
ccr10.mf \
ccr9.mf \
ccr8.mf \
ccr7.mf \
ccr6.mf \
ccr5.mf \
ccsl10.mf \
ccsl9.mf \
ccti10.mf \
cccsc10.mf \
ccmi10.mf \
ccmic9.mf \
ccslc9.mf
TFMFILES = \
ccr10.mf \
ccr9.mf \
ccr8.mf \
ccr7.mf \
ccr6.mf \
ccr5.mf \
ccsl10.mf \
ccsl9.mf \
ccti10.mf \
cccsc10.mf \
ccmi10.mf \
ccmic9.mf \
ccslc9.mf
### customizable variables:
# Where the TeX installation resides:
TEXMF = `kpsewhich --expand-path='$$TEXMFMAIN'`
#TEXMF = /usr/local/teTeX/share/texmf
# standard directories
srcdir = .
MFDIR = $(TEXMF)/fonts/source/$(SUPPLIER)/$(TYPEFACE)
TFMDIR = $(TEXMF)/fonts/tfm/$(SUPPLIER)/$(TYPEFACE)
# How to install the files:
INSTALL = cp -p
#INSTALL = install -c
# How to cleanup the files:
CLEAN = rm -f
# How to update the directory database:
TEXHASH = mktexlsr
#TEXHASH = texhash
### unpack targets:
default: all
all:
@echo
@echo "Please call \`make install' to install the font files!"
@echo
@true
### install targets:
install: install-fonts post-install
.PHONY: install
install-fonts:
test -d $(MFDIR) || mkdir $(MFDIR)
(for f in $(MFFILES); \
do $(INSTALL) $(srcdir)/mf/$$f $(MFDIR); done)
test -d $(TFMDIR) || mkdir $(TFMDIR)
(for f in $(TFMFILES); \
do $(INSTALL) $(srcdir)/tfm/$$f $(TFMDIR); done)
.PHONY: install-fonts
# uninstall target:
uninstall:
(for f in $(MFFILES); \
do $(CLEAN) $(MFDIR)/$$f; done)
(for f in $(TFMFILES); \
do $(CLEAN) $(TFMDIR)/$$f; done)
.PHONY: uninstall
# Update the directory database:
post-install:
$(TEXHASH)
.PHONY: post-install
### clean targets:
clean:
rm -f *.log *.aux *.toc *.lof *.lot *.bbl *.blg
rm -f *.idx *.ind *.ilg *.glo *.gls
distclean: clean
|