summaryrefslogtreecommitdiff
path: root/makefile
blob: ebddc0d27abf3f222fbb27b3e23dcb8d6a6d2976 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
elpa_name = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
elpa_dir = $(elpa_name)
elpa_slogan = "GNU Emacs and Scheme talk to each other"
geiser_el = $(elpa_dir)/geiser.el
bin_dir = $(elpa_dir)/bin
scheme_dir = $(elpa_dir)/scheme

elpa:  info
	rm -rf $(elpa_dir)
	mkdir -p $(elpa_dir)

	echo '(define-package "geiser" "$(PACKAGE_VERSION)" $(elpa_slogan))' \
             > $(elpa_dir)/geiser-pkg.el

	cp $(abs_top_srcdir)/elisp/*.el $(elpa_dir)

	cp doc/geiser.info $(elpa_dir)
	(cd $(elpa_dir) && install-info --dir=dir geiser.info 2>/dev/null)

	cp readme.org $(elpa_dir)/README

	rm -f $(elpa_name).tar
	tar cf $(elpa_name).tar $(elpa_name)