## -*-makefile-*- ## ## $Id: Makefile.m4,v 1.3 2002/02/24 15:21:44 mdw Exp $ ## ## Build system for mdwfonts ## ## (c) 2002 Mark Wooding ## ##----- Licensing notice ---------------------------------------------------- ## ## This file is part of the mdwfonts font configuration system. ## ## 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. ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.m4,v $ ## Revision 1.3 2002/02/24 15:21:44 mdw ## Ship all the intermediate files too. ## ## Revision 1.2 2002/02/24 12:34:46 mdw ## Don't install intermediate results. It messes everything up. ## ## Revision 1.1 2002/02/19 22:54:13 mdw ## Initial revision. ## ## Revision 1.2 2002/02/03 20:57:21 mdw ## Sort out distribution. ## ## Revision 1.1 2002/02/03 20:49:02 mdw ## Checkin for new build system. ## AUTOMAKE_OPTIONS = foreign texmfdir = @texmfdir@ pkglatexdir = ${texmfdir}/tex/latex/${PACKAGE} pkgdocdir = ${texmfdir}/doc/latex/${PACKAGE} pkgtfmdir = ${texmfdir}/fonts/tfm/${PACKAGE} pkgvfdir = ${texmfdir}/fonts/vf/${PACKAGE} pkgetxdir = ${texmfdir}/tex/fontinst/${PACKAGE} FONTINST = @FONTINST@ define(`addsuffix', `patsubst(`$1', `\>', `$2')') define(`BASE', `mdwfonts') define(`TFMBASE', `\ pcrb8rn pcrbo8rn pcrr8rn pcrro8rn') define(`VFBASE', `\ pcrb7tn pcrb8tn pcrbc7tn pcrbc8tn pcrbo7tn pcrbo8tn pcrr7tn pcrr8tn \ pcrrc7tn pcrrc8tn pcrro7tn pcrro8tn zpplcmr zpplcmrm') AUX = gpl.tex SRC = addsuffix(BASE, `.dtx') DVI = addsuffix(BASE, `.dvi') ETX = ot1tt.etx ot1ctt.etx INS = mdwfonts.sty mdwfonts.tex mdwfonts.map mttpcr.fd FD = omlpplcm.fd ot1pplcm.fd PL = addsuffix(TFMBASE, `.pl') VPL = addsuffix(VFBASE, `.vpl') TFM = addsuffix(TFMBASE, `.tfm') addsuffix(VFBASE, `.tfm') VF = addsuffix(VFBASE, `.vf') pkglatex_DATA = $(INS) $(FD) pkgdoc_DATA = $(DVI) pkgtfm_DATA = $(TFM) pkgvf_DATA = $(VF) pkgetx_DATA = $(ETX) SUFFIXES = .dtx .dvi .vf .tfm .pl .vpl define(`run_latex', `latex "\def\indexing{n} \nonstopmode \input $<" latex "\def\indexing{y} \nonstopmode \input $<" makeindex -s gind.ist $`'*.idx latex "\def\indexing{n} \nonstopmode \input $<"') .dtx.dvi: $(AUX) run_latex .vpl.tfm:; vptovf $< .pl.tfm:; pltotf $< .vpl.vf:; vptovf $< $(ETX) $(INS): $(SRC) mdwfonts.ins tex "\nonstopmode \input mdwfonts.ins" $(FD) $(VF) $(PL) $(VPL): mdwfonts.tex $(ETX) $(FONTINST) "\nonstopmode \input mdwfonts.tex" EXTRA_DIST = \ $(SRC) $(AUX) $(INS) $(ETX) $(FD) $(TFM) $(VF) $(PL) $(VPL) $(DVI) \ mdwfonts.ins Makefile.m4 MAINTAINERCLEANFILES = $(INS) $(ETX) $(TFM) $(VF) $(DVI) *.fd CLEANFILES = \ *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans \ *.pl *.vpl *.mtx Makefile.am: Makefile.m4 cd $(srcdir) && m4 Makefile.m4 >Makefile.am .PHONY: dvi ##----- That's all, folks ---------------------------------------------------