## -*-makefile-*-
##
-## $Id: Makefile.m4,v 1.4 2003/09/05 16:16:31 mdw Exp $
-##
## Build system for mdwtools
##
## (c) 2002 Mark Wooding
## 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.
-##
+##
## mdwtools 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 mdwtools; if not, write to the Free Software Foundation,
## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
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', `\