Initial release of Maemo 5 port of gnuplot
[gnuplot] / share / LaTeX / Makefile.am
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
2 AUTOMAKE_OPTIONS = foreign 1.2h
3
4 EXTRA_DIST = README gnuplot.cfg
5
6 install-data-hook: install-cfg
7 uninstall-hook: uninstall-cfg
8
9 install-cfg:
10         @if test $(PLAINTEX) != no ; then \
11           installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \
12           $(top_srcdir)/mkinstalldirs $(DESTDIR)$$installdir ; \
13           if [ ! -f $(DESTDIR)$$installdir/gnuplot.cfg ]; then \
14             $(INSTALL_DATA) $(srcdir)/gnuplot.cfg $(DESTDIR)$$installdir/gnuplot.cfg && \
15             texhash; \
16           fi ; \
17           fi
18
19 uninstall-cfg:
20         @$(NORMAL_UNINSTALL)
21 #       @if test $(PLAINTEX) != no ; then \
22 #         installdir=`kpsexpand '$$TEXMFLOCAL'/tex/latex/gnuplot |sed "s%^.*share/%$(prefix)/share/%"` ; \
23 #         rm -f "$(DESTDIR)$$installdir/gnuplot.cfg" ; \
24 #       fi