3 ## Build system for mdwfonts
5 ## (c) 2002 Mark Wooding
8 ##----- Licensing notice ----------------------------------------------------
10 ## This file is part of the mdwfonts font configuration system.
12 ## mdwfonts is free software; you can redistribute it and/or modify
13 ## it under the terms of the GNU General Public License as published by
14 ## the Free Software Foundation; either version 2 of the License, or
15 ## (at your option) any later version.
17 ## mdwfonts is distributed in the hope that it will be useful,
18 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ## GNU 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 AUTOMAKE_OPTIONS = foreign
28 texmfpath = @texmfpath@
29 pkglatexdir = ${texmfpath}/tex/latex/${PACKAGE}
30 pkgdocdir = ${texmfpath}/doc/latex/${PACKAGE}
31 pkgtfmdir = ${texmfpath}/fonts/tfm/${PACKAGE}
32 pkgvfdir = ${texmfpath}/fonts/vf/${PACKAGE}
33 pkgetxdir = ${texmfpath}/tex/fontinst/${PACKAGE}
34 pkmapdir = ${texmfpath}/dvips/${PACKAGE}
38 define(`addsuffix', `patsubst(`$1', `\>', `$2')')
39 define(`BASE', `mdwfonts')
41 pcrb8rn pcrbo8rn pcrr8rn pcrro8rn')
43 pcrb7tn pcrb8tn pcrbc7tn pcrbc8tn pcrbo7tn pcrbo8tn pcrr7tn pcrr8tn \
44 pcrrc7tn pcrrc8tn pcrro7tn pcrro8tn zpplcmr zpplcmrm')
47 SRC = addsuffix(BASE, `.dtx')
48 DVI = addsuffix(BASE, `.dvi')
49 ETX = ot1tt.etx ot1ctt.etx
50 INS = mdwfonts.sty mdwfonts.tex mttpcr.fd
52 FD = omlpplcm.fd ot1pplcm.fd
53 PL = addsuffix(TFMBASE, `.pl')
54 VPL = addsuffix(VFBASE, `.vpl')
55 TFM = addsuffix(TFMBASE, `.tfm') addsuffix(VFBASE, `.tfm')
56 VF = addsuffix(VFBASE, `.vf')
58 pkglatex_DATA = $(INS) $(FD)
65 SUFFIXES = .dtx .dvi .vf .tfm .pl .vpl
66 define(`run_latex', `latex "\def\indexing{n} \nonstopmode \input $<"
67 latex "\def\indexing{y} \nonstopmode \input $<"
68 makeindex -s gind.ist $`'*.idx
69 latex "\def\indexing{n} \nonstopmode \input $<"')
77 $(ETX) $(INS): $(SRC) mdwfonts.ins
78 tex "\nonstopmode \input mdwfonts.ins"
79 $(FD) $(VF) $(PL) $(VPL): mdwfonts.tex $(ETX)
80 $(FONTINST) "\nonstopmode \input mdwfonts.tex"
83 $(SRC) $(AUX) $(INS) $(ETX) $(FD) $(TFM) $(VF) $(PL) $(VPL) $(DVI) \
84 mdwfonts.ins Makefile.m4
86 MAINTAINERCLEANFILES = $(INS) $(ETX) $(TFM) $(VF) $(DVI) *.fd
88 *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans *.vpl \
91 Makefile.am: Makefile.m4
92 cd $(srcdir) && m4 Makefile.m4 >Makefile.am
96 ##----- That's all, folks ---------------------------------------------------