Lines 8-14
Link Here
|
8 |
|
8 |
|
9 |
install-cfg: |
9 |
install-cfg: |
10 |
@if test $(PLAINTEX) != no ; then \ |
10 |
@if test $(PLAINTEX) != no ; then \ |
11 |
installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
11 |
installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
12 |
$(top_srcdir)/mkinstalldirs $(DESTDIR)$$installdir ; \ |
12 |
$(top_srcdir)/mkinstalldirs $(DESTDIR)$$installdir ; \ |
13 |
if [ ! -f $(DESTDIR)$$installdir/gnuplot.cfg ]; then \ |
13 |
if [ ! -f $(DESTDIR)$$installdir/gnuplot.cfg ]; then \ |
14 |
$(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg && \ |
14 |
$(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg && \ |
Lines 19-24
Link Here
|
19 |
uninstall-cfg: |
19 |
uninstall-cfg: |
20 |
@$(NORMAL_UNINSTALL) |
20 |
@$(NORMAL_UNINSTALL) |
21 |
@if test $(PLAINTEX) != no ; then \ |
21 |
@if test $(PLAINTEX) != no ; then \ |
22 |
installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
22 |
installdir=`kpsexpand '$$TEXMFSITE'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \ |
23 |
rm -f "$(DESTDIR)$$installdir/gnuplot.cfg" ; \ |
23 |
rm -f "$(DESTDIR)$$installdir/gnuplot.cfg" ; \ |
24 |
fi |
24 |
fi |