Debian Codegraph @

texmf-dist/doc/fonts/concmath-fonts/Makefile

raw
1 ## Makefile for the installation of the `concmath' 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 = concmath
20
21 # file names, used in dependencies
22
23 MFFILES = \
24 xccmi5.mf xccmi6.mf xccmi7.mf xccmi8.mf xccmi9.mf xccmi10.mf \
25 xccsy5.mf xccsy6.mf xccsy7.mf xccsy8.mf xccsy9.mf xccsy10.mf \
26 xccam5.mf xccam6.mf xccam7.mf xccam8.mf xccam9.mf xccam10.mf \
27 xccbm5.mf xccbm6.mf xccbm7.mf xccbm8.mf xccbm9.mf xccbm10.mf \
28 xccex7.mf xccex8.mf xccex9.mf xccex10.mf
29 TFMFILES = \
30 xccmi5.tfm xccmi6.tfm xccmi7.tfm xccmi8.tfm xccmi9.tfm xccmi10.tfm \
31 xccsy5.tfm xccsy6.tfm xccsy7.tfm xccsy8.tfm xccsy9.tfm xccsy10.tfm \
32 xccam5.tfm xccam6.tfm xccam7.tfm xccam8.tfm xccam9.tfm xccam10.tfm \
33 xccbm5.tfm xccbm6.tfm xccbm7.tfm xccbm8.tfm xccbm9.tfm xccbm10.tfm \
34 xccex7.tfm xccex8.tfm xccex9.tfm xccex10.tfm
35
36
37 ### customizable variables:
38
39 # Where the TeX installation resides:
40 TEXMF = `kpsewhich --expand-path='$$TEXMFMAIN'`
41 #TEXMF = /usr/local/teTeX/share/texmf
42
43 # standard directories
44 srcdir = .
45 MFDIR = $(TEXMF)/fonts/source/$(SUPPLIER)/$(TYPEFACE)
46 TFMDIR = $(TEXMF)/fonts/tfm/$(SUPPLIER)/$(TYPEFACE)
47
48
49 # How to install the files:
50 INSTALL = cp -p
51 #INSTALL = install -c
52
53 # How to cleanup the files:
54 CLEAN = rm -f
55
56 # How to update the directory database:
57 TEXHASH = mktexlsr
58 #TEXHASH = texhash
59
60
61 ### unpack targets:
62
63 default: all
64 all:
65 @echo
66 @echo "Please call \`make install' to install the font files!"
67 @echo
68 @true
69
70 ### install targets:
71
72 install: install-fonts post-install
73 .PHONY: install
74
75 install-fonts:
76 test -d $(MFDIR) || mkdir $(MFDIR)
77 (for f in $(MFFILES); \
78 do $(INSTALL) $(srcdir)/mf/$$f $(MFDIR); done)
79 test -d $(TFMDIR) || mkdir $(TFMDIR)
80 (for f in $(TFMFILES); \
81 do $(INSTALL) $(srcdir)/tfm/$$f $(TFMDIR); done)
82 .PHONY: install-fonts
83
84 # uninstall target:
85
86 uninstall:
87 (for f in $(MFFILES); \
88 do $(CLEAN) $(MFDIR)/$$f; done)
89 (for f in $(TFMFILES); \
90 do $(CLEAN) $(TFMDIR)/$$f; done)
91 .PHONY: uninstall
92
93
94 # Update the directory database:
95 post-install:
96 $(TEXHASH)
97 .PHONY: post-install
98
99
100 ### clean targets:
101 clean:
102 rm -f *.log *.aux *.toc *.lof *.lot *.bbl *.blg
103 rm -f *.idx *.ind *.ilg *.glo *.gls
104
105 distclean: clean