Initial release of Maemo 5 port of gnuplot
[gnuplot] / lisp / Makefile.am
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
2 AUTOMAKE_OPTIONS = foreign 1.2h
3
4 ELS = gnuplot-gui.el gnuplot.el info-look.20.2.el info-look.20.3.el
5 ELCS = gnuplot.elc gnuplot-gui.elc @INFO_LOOK_ELC@
6 EXTRA_DIST = README.1st dot.el dotemacs gnuplot.el.old gpelcard.dvi gpelcard.pdf gpelcard.ps gpelcard.tex $(ELS)
7
8 CLEANFILES = $(ELCS) gpelcard.pdf gpelcard.ps gpelcard.dvi gpelcard.log gpelcard.aux
9 DISTCLEANFILES = info-look.el
10
11 BYTEC = $(EMACS) -batch -q -no-site-file -l $(srcdir)/dot.el -f batch-byte-compile
12
13 .el.elc:
14         $(BYTEC) $<
15
16 .dvi.ps:
17         $(DVIPS) -o $@ $<
18
19 .tex.dvi:
20         $(LATEX) $<
21
22 .tex.pdf:
23         $(PDFLATEX) $<
24
25 all: @LISPFILES@
26
27 elcs: $(ELCS)
28
29 noelcs:
30
31 pdf: gpelcard.pdf
32 ps: gpelcard.ps
33
34 install-data-hook: @INSTALL_LISP@
35
36 install-lisp: install-els install-elcs
37 install-nolisp:
38
39 install-els: $(ELS)
40         $(mkinstalldirs) $(DESTDIR)$(lispdir)
41         @for p in $(ELS) ; do \
42           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p"; \
43           $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p; \
44         done
45
46 install-elcs: $(ELCS)
47         $(mkinstalldirs) $(DESTDIR)$(lispdir)
48         @for p in $(ELCS) ; do \
49           echo " $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p"; \
50           $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p; \
51         done
52
53 uninstall-local:
54         @$(NORMAL_UNINSTALL)
55         @for p in $(ELCS) $(ELS) ; do \
56           rm -f $(DESTDIR)$(lispdir)/$$p; \
57         done
58
59 distclean-local:
60         @if test "$(top_srcdir)" != "$(top_builddir)" ; then \
61           for p in $(ELS) gpelcard.tex ; do \
62             rm -f $$p ; \
63           done ; \
64         fi
65
66 SUFFIXES = .el .elc .pdf .ps .tex