## -*-makefile-*-
##
-## $Id$
-##
## Build system for mdwfonts
##
## (c) 2002 Mark Wooding
## 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}
-pkmapdir = ${texmfdir}/dvips/${PACKAGE}
+texmfpath = @texmfpath@
+pkglatexdir = ${texmfpath}/tex/latex/${PACKAGE}
+pkgdocdir = ${texmfpath}/doc/latex/${PACKAGE}
+pkgtfmdir = ${texmfpath}/fonts/tfm/${PACKAGE}
+pkgvfdir = ${texmfpath}/fonts/vf/${PACKAGE}
+pkgetxdir = ${texmfpath}/tex/fontinst/${PACKAGE}
+pkmapdir = ${texmfpath}/dvips/${PACKAGE}
FONTINST = @FONTINST@
makeindex -s gind.ist $`'*.idx
latex "\def\indexing{n} \nonstopmode \input $<"')
-.dtx.dvi: $(AUX)
- run_latex
+$(DVI): $(AUX) $(INS)
+.dtx.dvi: run_latex
.vpl.tfm:; vptovf $<
.pl.tfm:; pltotf $<
.vpl.vf:; vptovf $<
MAINTAINERCLEANFILES = $(INS) $(ETX) $(TFM) $(VF) $(DVI) *.fd
CLEANFILES = \
- *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans \
- *.pl *.vpl *.mtx
+ *.tmp *.aux *.idx *.ilg *.log *.toc *.ind *.lot *.ans *.vpl \
+ p*.pl p*.mtx c*.mtx
+
Makefile.am: Makefile.m4
cd $(srcdir) && m4 Makefile.m4 >Makefile.am