mdwfonts.dtx: Fix package description!
[mdwfonts] / Project.mk
CommitLineData
1f84fc9c
MW
1### -*-makefile-gmake-*-
2###
3### Package-specfic definitions for the build script
4###
5### (c) 2020 Mark Wooding
6###
7
8###----- Licensing notice ---------------------------------------------------
9###
10### This file is part of the `mdwfonts' LaTeX package collection.
11###
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.
16###
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.
21###
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.
25
26###--------------------------------------------------------------------------
27### Easy stuff.
28
29## Package identification.
30PACKAGE = mdwfonts
31
32## Installation files.
33INS = mdwfonts.ins
34
35## Format the licence text.
36EXTRA += gpl.tex
37
38###--------------------------------------------------------------------------
39### Installing the fonts.
40
41## Additional tools.
42FONTINST = fontinst
43VPTOVF = vptovf
44PLTOTF = pltotf
45
46## Transformed fonts (made by `\transformfont'; produces a `.pl' from which
47## we make a `.tfm').
48XFORM += $(foreach s,b bo r ro, pcr$s8rn)
49XFORM += pplr8r pplri8r
50XFORM += pzcmi8r
51mdwfonts.tex_OUT += $(addsuffix .pl,$(XFORM))
52TFM += $(addsuffix .tfm,$(XFORM))
53OUT += $(TFM)
54
55%.tfm: %.pl; $(call v_tag,PLTOTF,$@)$(PLTOTF) $< 2>$*.log
56
57## Installed fonts (made by `\installfont'; produces a `.vpl' from which we
58## make a `.tfm' and a `.vf').
59INST += $(foreach f,pcrb pcrbc pcrbo pcrr pcrrc pcrro, \
60 $f7tn $f8tn)
61INST += zpplcmr zpplcmrm
62mdwfonts.tex_OUT += $(addsuffix .vpl,$(INST))
63TFM += $(addsuffix .tfm,$(INST))
64VF += $(addsuffix .vf,$(INST))
65OUT += $(VF)
66
67%.tfm %.vf: %.vpl; $(call v_tag,VPTOVF,$@)$(VPTOVF) $< 2>$*.log
68
69## Installed families (made by `\installfamily'; produces a `.fd').
70FAM += ot1pplcm omlpplcm
71mdwfonts.tex_OUT += $(addsuffix .fd,$(FAM))
72
73## Run `fontinst' to generate the necessary things.
74$(eval $(call output-targets,$$(FONTINST),FONTINST,mdwfonts.tex))
75OUT += $(mdwfonts.tex_OUT)
76
77## Explain where to put all the files.
78pkglatex_FILES = $(filter %.fd %.sty %.tex,$(OUT))
79
80INSTALLDIRS += pkgetx
81pkgetxdir = $(texmfdir)/tex/fontinst/$(PACKAGE)
82pkgetx_FILES = $(filter %.etx,$(OUT))
83
84INSTALLDIRS += pkgmap
85pkgmapdir = $(texmfdir)/fonts/map/$(PACKAGE)
86pkgmap_FILES = $(filter %.map,$(OUT))
87
88INSTALLDIRS += pkgtfm
89pkgtfmdir = $(texmfdir)/fonts/tfm/$(PACKAGE)
90pkgtfm_FILES = $(filter %.tfm,$(OUT))
91
92INSTALLDIRS += pkgvf
93pkgvfdir = $(texmfdir)/fonts/vf/$(PACKAGE)
94pkgvf_FILES = $(filter %.vf,$(OUT))
95
96## Additional Debian machinery.
97DISTFILES += debian/mdwfonts.maps
98
99###----- That's all, folks --------------------------------------------------