Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 156427 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile.am (-2 / +2 lines)
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"

Return to bug 156427