Lines 331-337
Link Here
|
331 |
|
331 |
|
332 |
install-cfg: |
332 |
install-cfg: |
333 |
@if test $(PLAINTEX) != no ; then \ |
333 |
@if test $(PLAINTEX) != no ; then \ |
334 |
installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
334 |
installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
335 |
$(top_srcdir)/mkinstalldirs $(DESTDIR)$$installdir ; \ |
335 |
$(top_srcdir)/mkinstalldirs $(DESTDIR)$$installdir ; \ |
336 |
if [ ! -f $(DESTDIR)$$installdir/gnuplot.cfg ]; then \ |
336 |
if [ ! -f $(DESTDIR)$$installdir/gnuplot.cfg ]; then \ |
337 |
$(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg && \ |
337 |
$(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg && \ |
Lines 342-348
Link Here
|
342 |
uninstall-cfg: |
342 |
uninstall-cfg: |
343 |
@$(NORMAL_UNINSTALL) |
343 |
@$(NORMAL_UNINSTALL) |
344 |
@if test $(PLAINTEX) != no ; then \ |
344 |
@if test $(PLAINTEX) != no ; then \ |
345 |
installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
345 |
installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
346 |
rm -f "$(DESTDIR)$$installdir/gnuplot.cfg" ; \ |
346 |
rm -f "$(DESTDIR)$$installdir/gnuplot.cfg" ; \ |
347 |
fi |
347 |
fi |
348 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
348 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |