build: Use ACLTX_TEXMF_PATH for installation.
[mdwtools] / Makefile.m4
index fd88bc8..7712571 100644 (file)
@@ -1,7 +1,5 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.m4,v 1.4 2003/09/05 16:16:31 mdw Exp $
-##
 ## Build system for mdwtools
 ##
 ## (c) 2002 Mark Wooding
 
 AUTOMAKE_OPTIONS = foreign
 
-texmfdir = @texmfdir@
-pkglatexdir = ${texmfdir}/tex/latex/${PACKAGE}
-pkgdocdir = ${texmfdir}/doc/latex/${PACKAGE}
+texmfpath = @texmfpath@
+pkglatexdir = ${texmfpath}/tex/latex/${PACKAGE}
+pkgdocdir = ${texmfpath}/doc/latex/${PACKAGE}
 
 define(`addsuffix', `patsubst(`$1', `\>', `$2')')
 define(`BASE', `\
        at centre cmtt colour crypto doafter exercise footnote mdwkey \
-       mdwlist mdwmath mdwtab mdwthm poetry slowbox sverb syntax')
+       mdwlist mdwmath mdwref mdwtab mdwthm poetry slowbox sverb syntax')
 
 AUX = mdwtools.tex gpl.tex
 SRC = addsuffix(BASE, `.dtx')
@@ -52,6 +50,7 @@ OBJ = \
        mdwkey.sty \
        mdwlist.sty \
        mdwmath.sty \
+       mdwref.sty \
        mdwtab.sty mathenv.sty mtcolour.sty mtcolor.sty \
        mdwthm.sty mdwmargin.thm \
        poetry.sty \