build: Remove CVS cruft. Use autoconf-mode.
[strayman] / Makefile.m4
index 4a30e29..4a73808 100644 (file)
@@ -1,7 +1,5 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.m4,v 1.1 2002/02/19 23:27:57 mdw Exp $
-##
 ## Build system for strayman
 ##
 ## (c) 2002 Mark Wooding
 ## along with strayman; 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.1  2002/02/19 23:27:57  mdw
-## Initial revision.
-##
-## Revision 1.3  2002/02/19 22:49:57  mdw
-## Use lowercase names for font definition files.
-##
-## 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}
+pkglatexdir = ${texmfpath}/tex/latex/${PACKAGE}
+pkgdocdir = ${texmfpath}/doc/latex/${PACKAGE}
 
 define(`addsuffix', `patsubst(`$1', `\>', `$2')')
 define(`BASE', `strayman')
@@ -71,7 +52,8 @@ define(`run_latex', `latex "\def\indexing{n} \nonstopmode \input $<"
        makeindex -s gind.ist $`'*.idx
        latex "\def\indexing{n} \nonstopmode \input $<"')
 
-.dtx.dvi: $(AUX)
+$(DVI): $(AUX)
+.dtx.dvi:
        run_latex
 
 $(OBJ): $(SRC) strayman.ins