--- Makefile.orig 2001-11-04 11:24:00.000000000 -0500 +++ Makefile 2014-12-16 19:19:03.000000000 -0500 @@ -4,9 +4,10 @@ BASEDIR=/usr #DEFSFILE=${HOME}/Work/lgrind/lgrindef -DEFSFILE=$(BASEDIR)/share/texmf/tex/latex/lgrind/lgrindef -TEXFILEDIR=$(BASEDIR)/share/texmf/tex/latex/lgrind -DOCDIR=$(BASEDIR)/doc/lgrind +DEFSFILE=$(BASEDIR)/share/texmf-dist/tex/latex/lgrind/lgrindef +DEFSFILE_REAL=%%PREFIX%%/share/texmf-dist/tex/latex/lgrind/lgrindef +TEXFILEDIR=$(BASEDIR)/share/texmf-dist/tex/latex/lgrind +DOCDIR=$(BASEDIR)/share/texmf-dist/doc/latex/lgrind INSTALL=install SOURCES=lgrind.c lgutil.c regexp.c regexp.h lgrindef.c lgrindef.h retest.c v2lg.c @@ -28,7 +29,7 @@ lgrind: cd source; \ - make DEFSFILE=$(DEFSFILE) BASEDIR=$(BASEDIR) INSTALL=$(INSTALL) VERSION=$(VERSION) + make DEFSFILE=$(DEFSFILE_REAL) BASEDIR=$(BASEDIR) INSTALL=$(INSTALL) VERSION=$(VERSION) clean: rm -f lgrind.log