blob: 427d25cd8a7f54f8377be8529d47400d683dc767 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
EMACS := emacs
VERSION = $(shell sed -ne 's/^;; Version: \(.*\)/\1/p' buttercup.el)
DISTFILES = buttercup.el buttercup-compat.el buttercup-pkg.el README.md
.PHONY: test
all: test
test:
$(EMACS) -batch -L . -l buttercup.el -f buttercup-run-markdown README.md
./bin/buttercup -L .
tar:
mkdir -p dist
tar -c $(DISTFILES) --transform "s,^,buttercup-$(VERSION)/," --transform 's/README.md/README.txt/' > "dist/buttercup-$(VERSION).tar"
|