blob: ae5507db52fd96025fe830967f43fcf9ba1bbdaf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
LOAD_PATH ?=
BATCH = emacs -Q --batch $(LOAD_PATH) -L .
all: org-link-edit-autoloads.el org-link-edit.elc test-org-link-edit.elc
.PHONY: test
test: org-link-edit.elc test-org-link-edit.elc
@$(BATCH) -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 test-org-link-edit.elc
%.elc: %.el
@$(BATCH) -f batch-byte-compile $<
%-autoloads.el: %.el
@$(BATCH) --eval \
"(let ((make-backup-files nil)) \
(if (fboundp 'loaddefs-generate) \
(loaddefs-generate default-directory \"$@\" \
(list \"test-org-link-edit.el\")) \
(update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\")))"
|