X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=lisp%2FMakefile.am;fp=lisp%2FMakefile.am;h=5de95911d59db45d8a0025f7031cb58bf4de9e87;hb=39ec1247a71f61152a4a7f502a30f06a3896c5da;hp=0000000000000000000000000000000000000000;hpb=06be459be4f5f6a7c6ff878e84f355fb2575caa8;p=gnuplot diff --git a/lisp/Makefile.am b/lisp/Makefile.am new file mode 100644 index 0000000..5de9591 --- /dev/null +++ b/lisp/Makefile.am @@ -0,0 +1,66 @@ +## Process this file with automake to produce Makefile.in -*-Makefile-*- +AUTOMAKE_OPTIONS = foreign 1.2h + +ELS = gnuplot-gui.el gnuplot.el info-look.20.2.el info-look.20.3.el +ELCS = gnuplot.elc gnuplot-gui.elc @INFO_LOOK_ELC@ +EXTRA_DIST = README.1st dot.el dotemacs gnuplot.el.old gpelcard.dvi gpelcard.pdf gpelcard.ps gpelcard.tex $(ELS) + +CLEANFILES = $(ELCS) gpelcard.pdf gpelcard.ps gpelcard.dvi gpelcard.log gpelcard.aux +DISTCLEANFILES = info-look.el + +BYTEC = $(EMACS) -batch -q -no-site-file -l $(srcdir)/dot.el -f batch-byte-compile + +.el.elc: + $(BYTEC) $< + +.dvi.ps: + $(DVIPS) -o $@ $< + +.tex.dvi: + $(LATEX) $< + +.tex.pdf: + $(PDFLATEX) $< + +all: @LISPFILES@ + +elcs: $(ELCS) + +noelcs: + +pdf: gpelcard.pdf +ps: gpelcard.ps + +install-data-hook: @INSTALL_LISP@ + +install-lisp: install-els install-elcs +install-nolisp: + +install-els: $(ELS) + $(mkinstalldirs) $(DESTDIR)$(lispdir) + @for p in $(ELS) ; do \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p; \ + done + +install-elcs: $(ELCS) + $(mkinstalldirs) $(DESTDIR)$(lispdir) + @for p in $(ELCS) ; do \ + echo " $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p"; \ + $(INSTALL_DATA) $$p $(DESTDIR)$(lispdir)/$$p; \ + done + +uninstall-local: + @$(NORMAL_UNINSTALL) + @for p in $(ELCS) $(ELS) ; do \ + rm -f $(DESTDIR)$(lispdir)/$$p; \ + done + +distclean-local: + @if test "$(top_srcdir)" != "$(top_builddir)" ; then \ + for p in $(ELS) gpelcard.tex ; do \ + rm -f $$p ; \ + done ; \ + fi + +SUFFIXES = .el .elc .pdf .ps .tex