branch: elpa/buttercup commit bf0e1da890ef6128a0f8edb33384634280f25c1e Author: Jorgen Schaefer <cont...@jorgenschaefer.de> Commit: Jorgen Schaefer <cont...@jorgenschaefer.de>
Rename tar target to release and add compile and clean targets. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 427d25c..2192f61 100644 --- a/Makefile +++ b/Makefile @@ -11,6 +11,12 @@ test: $(EMACS) -batch -L . -l buttercup.el -f buttercup-run-markdown README.md ./bin/buttercup -L . -tar: +compile: + $(EMACS) -batch -L . -f batch-byte-compile *.el + +release: clean test mkdir -p dist tar -c $(DISTFILES) --transform "s,^,buttercup-$(VERSION)/," --transform 's/README.md/README.txt/' > "dist/buttercup-$(VERSION).tar" + +clean: + rm -f *.elc