1 ### -*-makefile-gmake-*-
3 ### Package-specfic definitions for the build script
5 ### (c) 2020 Mark Wooding
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of the `mdwfonts' LaTeX package collection.
12 ### `mdwfonts' is free software: you can redistribute it and/or modify it
13 ### under the terms of the GNU General Public License as published by the
14 ### Free Software Foundation; either version 2 of the License, or (at your
15 ### option) any later version.
17 ### `mdwfonts' is distributed in the hope that it will be useful, but
18 ### WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 ### General Public License for more details.
22 ### You should have received a copy of the GNU General Public License
23 ### along with `mdwfonts'. If not, write to the Free Software Foundation,
24 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 ###--------------------------------------------------------------------------
29 ## Package identification.
32 ## Installation files.
35 ## Format the licence text.
38 ###--------------------------------------------------------------------------
39 ### Installing the fonts.
46 ## Transformed fonts (made by `\transformfont'; produces a `.pl' from which
48 XFORM += $(foreach s,b bo r ro, pcr$s8rn)
49 XFORM += pplr8r pplri8r
51 mdwfonts.tex_OUT += $(addsuffix .pl,$(XFORM))
52 TFM += $(addsuffix .tfm,$(XFORM))
55 %.tfm: %.pl; $(call v_tag,PLTOTF,$@)$(PLTOTF) $< 2>$*.log
57 ## Installed fonts (made by `\installfont'; produces a `.vpl' from which we
58 ## make a `.tfm' and a `.vf').
59 INST += $(foreach f,pcrb pcrbc pcrbo pcrr pcrrc pcrro, \
61 INST += zpplcmr zpplcmrm
62 mdwfonts.tex_OUT += $(addsuffix .vpl,$(INST))
63 TFM += $(addsuffix .tfm,$(INST))
64 VF += $(addsuffix .vf,$(INST))
67 %.tfm %.vf: %.vpl; $(call v_tag,VPTOVF,$@)$(VPTOVF) $< 2>$*.log
69 ## Installed families (made by `\installfamily'; produces a `.fd').
70 FAM += ot1pplcm omlpplcm
71 mdwfonts.tex_OUT += $(addsuffix .fd,$(FAM))
73 ## Run `fontinst' to generate the necessary things.
74 $(eval $(call output-targets,$$(FONTINST),FONTINST,mdwfonts.tex))
75 OUT += $(mdwfonts.tex_OUT)
77 ## Explain where to put all the files.
78 pkglatex_FILES = $(filter %.fd %.sty %.tex,$(OUT))
81 pkgetxdir = $(texmfdir)/tex/fontinst/$(PACKAGE)
82 pkgetx_FILES = $(filter %.etx,$(OUT))
85 pkgmapdir = $(texmfdir)/fonts/map/$(PACKAGE)
86 pkgmap_FILES = $(filter %.map,$(OUT))
89 pkgtfmdir = $(texmfdir)/fonts/tfm/$(PACKAGE)
90 pkgtfm_FILES = $(filter %.tfm,$(OUT))
93 pkgvfdir = $(texmfdir)/fonts/vf/$(PACKAGE)
94 pkgvf_FILES = $(filter %.vf,$(OUT))
96 ## Additional Debian machinery.
97 DISTFILES += debian/mdwfonts.maps
99 ###----- That's all, folks --------------------------------------------------