Lines 331-337
Link Here
|
331 |
uninstall-hook: uninstall-cfg |
331 |
uninstall-hook: uninstall-cfg |
332 |
|
332 |
|
333 |
install-cfg: |
333 |
install-cfg: |
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 340-346
Link Here
|
340 |
|
340 |
|
341 |
uninstall-cfg: |
341 |
uninstall-cfg: |
342 |
@$(NORMAL_UNINSTALL) |
342 |
@$(NORMAL_UNINSTALL) |
343 |
@installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
343 |
@installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
344 |
rm -f "$(DESTDIR)$$installdir/gnuplot.cfg" |
344 |
rm -f "$(DESTDIR)$$installdir/gnuplot.cfg" |
345 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
345 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
346 |
# Otherwise a system limit (for SysV at least) may be exceeded. |
346 |
# Otherwise a system limit (for SysV at least) may be exceeded. |