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