--- Makefile.am 2007-03-03 23:21:49.000000000 +0100 +++ Makefile.am2 2007-03-03 23:23:39.000000000 +0100 @@ -8,7 +8,7 @@ install-cfg: @if test $(PLAINTEX) != no ; then \ - installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ + installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ $(top_srcdir)/mkinstalldirs $(DESTDIR)$$installdir ; \ if [ ! -f $(DESTDIR)$$installdir/gnuplot.cfg ]; then \ $(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg && \ @@ -19,6 +19,6 @@ uninstall-cfg: @$(NORMAL_UNINSTALL) @if test $(PLAINTEX) != no ; then \ - installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ + installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ rm -f "$(DESTDIR)$$installdir/gnuplot.cfg" ; \ fi