1 SUBDIRS = . elisp scheme bin doc
6 $(SHELL) $(top_srcdir)/ChangeLog > $(top_distdir)/ChangeLog
8 elpa_name = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
9 elpa_dir = $(abs_top_builddir)/$(elpa_name)
10 elpa_slogan = "GNU Emacs and Scheme talk to each other"
11 geiser_el = $(elpa_dir)/geiser.el
12 bin_dir = $(elpa_dir)/bin
13 scheme_dir = $(elpa_dir)/scheme
15 elpa: README.elpa info
17 $(mkdir_p) $(elpa_dir)
19 echo '(define-package "geiser" "$(PACKAGE_VERSION)" $(elpa_slogan))' \
20 > $(elpa_dir)/geiser-pkg.el
22 $(INSTALL_DATA) $(abs_top_srcdir)/elisp/*.el \
23 $(top_builddir)/elisp/geiser-version.el \
26 $(mkdir_p) $(scheme_dir)/guile/geiser
27 $(mkdir_p) $(scheme_dir)/racket/geiser
28 $(INSTALL_DATA) $(abs_top_srcdir)/scheme/guile/geiser/* \
29 $(scheme_dir)/guile/geiser
30 $(INSTALL_DATA) $(abs_top_srcdir)/scheme/racket/geiser/* \
31 $(scheme_dir)/racket/geiser
33 $(INSTALL_DATA) $(srcdir)/doc/geiser.info $(elpa_dir)
34 (cd $(elpa_dir) && install-info --dir=dir geiser.info 2>/dev/null)
36 $(INSTALL_DATA) $(top_srcdir)/README.elpa $(elpa_dir)/README
39 $(INSTALL) $(top_srcdir)/bin/geiser-racket.sh $(bin_dir)
41 rm -f $(elpa_name).tar
42 tar cf $(elpa_name).tar $(elpa_name)