Debian Codegraph @

texmf-dist/doc/fonts/concrete/Makefile

raw
1 ## Makefile for the installation of the `concrete' fonts:
2 ##
3 ## 1999-03-15, Ulrik Vieth <[email protected]>
4 ##
5
6 ## This program is distributed in the hope that it will be useful,
7 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
8 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9
10 ## Usage:
11 ##
12 ## say 'make install' to install the fonts
13 ##
14
15 ### package specifics (don't change!):
16
17 # package name, used in directories
18 SUPPLIER = public
19 TYPEFACE = concrete
20
21 # file names, used in dependencies
22
23 MFFILES = \
24 odigs.mf \
25 ccr10.mf \
26 ccr9.mf \
27 ccr8.mf \
28 ccr7.mf \
29 ccr6.mf \
30 ccr5.mf \
31 ccsl10.mf \
32 ccsl9.mf \
33 ccti10.mf \
34 cccsc10.mf \
35 ccmi10.mf \
36 ccmic9.mf \
37 ccslc9.mf
38 TFMFILES = \
39 ccr10.mf \
40 ccr9.mf \
41 ccr8.mf \
42 ccr7.mf \
43 ccr6.mf \
44 ccr5.mf \
45 ccsl10.mf \
46 ccsl9.mf \
47 ccti10.mf \
48 cccsc10.mf \
49 ccmi10.mf \
50 ccmic9.mf \
51 ccslc9.mf
52
53
54 ### customizable variables:
55
56 # Where the TeX installation resides:
57 TEXMF = `kpsewhich --expand-path='$$TEXMFMAIN'`
58 #TEXMF = /usr/local/teTeX/share/texmf
59
60 # standard directories
61 srcdir = .
62 MFDIR = $(TEXMF)/fonts/source/$(SUPPLIER)/$(TYPEFACE)
63 TFMDIR = $(TEXMF)/fonts/tfm/$(SUPPLIER)/$(TYPEFACE)
64
65
66 # How to install the files:
67 INSTALL = cp -p
68 #INSTALL = install -c
69
70 # How to cleanup the files:
71 CLEAN = rm -f
72
73 # How to update the directory database:
74 TEXHASH = mktexlsr
75 #TEXHASH = texhash
76
77
78 ### unpack targets:
79
80 default: all
81 all:
82 @echo
83 @echo "Please call \`make install' to install the font files!"
84 @echo
85 @true
86
87 ### install targets:
88
89 install: install-fonts post-install
90 .PHONY: install
91
92 install-fonts:
93 test -d $(MFDIR) || mkdir $(MFDIR)
94 (for f in $(MFFILES); \
95 do $(INSTALL) $(srcdir)/mf/$$f $(MFDIR); done)
96 test -d $(TFMDIR) || mkdir $(TFMDIR)
97 (for f in $(TFMFILES); \
98 do $(INSTALL) $(srcdir)/tfm/$$f $(TFMDIR); done)
99 .PHONY: install-fonts
100
101 # uninstall target:
102
103 uninstall:
104 (for f in $(MFFILES); \
105 do $(CLEAN) $(MFDIR)/$$f; done)
106 (for f in $(TFMFILES); \
107 do $(CLEAN) $(TFMDIR)/$$f; done)
108 .PHONY: uninstall
109
110
111 # Update the directory database:
112 post-install:
113 $(TEXHASH)
114 .PHONY: post-install
115
116
117 ### clean targets:
118 clean:
119 rm -f *.log *.aux *.toc *.lof *.lot *.bbl *.blg
120 rm -f *.idx *.ind *.ilg *.glo *.gls
121
122 distclean: clean