blob: cae7a6db14c410ad049ce4cc2560c836171b6a11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
LOAD_PATH ?=
BATCH = emacs -Q --batch $(LOAD_PATH)
all: org-link-edit-autoloads.el org-link-edit.elc
.PHONY: test
test: org-link-edit.elc
@$(BATCH) -L . -l test-org-link-edit \
--eval "(ert-run-tests-batch-and-exit '(not (tag interactive)))"
.PHONY: clean
clean:
$(RM) org-link-edit-autoloads.el org-link-edit.elc
%.elc: %.el
@$(BATCH) -f batch-byte-compile $<
%-autoloads.el: %.el
@$(BATCH) --eval \
"(let (make-backup-files) \
(update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\"))"
|