--- Makefile.am 2005-09-09 17:11:12.000000000 +0200 +++ Makefile2.am 2007-03-03 21:47:35.000000000 +0100 @@ -7,7 +7,7 @@ uninstall-hook: uninstall-cfg install-cfg: - @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 && \ @@ -16,5 +16,5 @@ uninstall-cfg: @$(NORMAL_UNINSTALL) - @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"