### -*-makefile-gmake-*- ### ### Package-specfic definitions for the build script ### ### (c) 2020 Mark Wooding ### ###----- Licensing notice --------------------------------------------------- ### ### This file is part of the `mdwfonts' LaTeX package collection. ### ### `mdwfonts' is free software: you can redistribute it and/or modify it ### under the terms of the GNU General Public License as published by the ### Free Software Foundation; either version 2 of the License, or (at your ### option) any later version. ### ### `mdwfonts' 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. See the GNU ### General Public License for more details. ### ### You should have received a copy of the GNU General Public License ### along with `mdwfonts'. If not, write to the Free Software Foundation, ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ###-------------------------------------------------------------------------- ### Easy stuff. ## Package identification. PACKAGE = mdwfonts ## Installation files. INS = mdwfonts.ins ## Format the licence text. EXTRA += gpl.tex ###-------------------------------------------------------------------------- ### Installing the fonts. ## Additional tools. FONTINST = fontinst VPTOVF = vptovf PLTOTF = pltotf ## Transformed fonts (made by `\transformfont'; produces a `.pl' from which ## we make a `.tfm'). XFORM += $(foreach s,b bo r ro, pcr$s8rn) XFORM += pplr8r pplri8r XFORM += pzcmi8r mdwfonts.tex_OUT += $(addsuffix .pl,$(XFORM)) TFM += $(addsuffix .tfm,$(XFORM)) OUT += $(TFM) %.tfm: %.pl; $(call v_tag,PLTOTF,$@)$(PLTOTF) $< 2>$*.log ## Installed fonts (made by `\installfont'; produces a `.vpl' from which we ## make a `.tfm' and a `.vf'). INST += $(foreach f,pcrb pcrbc pcrbo pcrr pcrrc pcrro, \ $f7tn $f8tn) INST += zpplcmr zpplcmrm mdwfonts.tex_OUT += $(addsuffix .vpl,$(INST)) TFM += $(addsuffix .tfm,$(INST)) VF += $(addsuffix .vf,$(INST)) OUT += $(VF) %.tfm %.vf: %.vpl; $(call v_tag,VPTOVF,$@)$(VPTOVF) $< 2>$*.log ## Installed families (made by `\installfamily'; produces a `.fd'). FAM += ot1pplcm omlpplcm mdwfonts.tex_OUT += $(addsuffix .fd,$(FAM)) ## Run `fontinst' to generate the necessary things. $(eval $(call output-targets,$$(FONTINST),FONTINST,mdwfonts.tex)) OUT += $(mdwfonts.tex_OUT) ## Explain where to put all the files. pkglatex_FILES = $(filter %.fd %.sty %.tex,$(OUT)) INSTALLDIRS += pkgetx pkgetxdir = $(texmfdir)/tex/fontinst/$(PACKAGE) pkgetx_FILES = $(filter %.etx,$(OUT)) INSTALLDIRS += pkgmap pkgmapdir = $(texmfdir)/fonts/map/$(PACKAGE) pkgmap_FILES = $(filter %.map,$(OUT)) INSTALLDIRS += pkgtfm pkgtfmdir = $(texmfdir)/fonts/tfm/$(PACKAGE) pkgtfm_FILES = $(filter %.tfm,$(OUT)) INSTALLDIRS += pkgvf pkgvfdir = $(texmfdir)/fonts/vf/$(PACKAGE) pkgvf_FILES = $(filter %.vf,$(OUT)) ## Additional Debian machinery. DISTFILES += debian/mdwfonts.maps ###----- That's all, folks --------------------------------------------------