blob: 50c87d22bc74d3f32f73ae840633de04f73d57cd (
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
|
-include config.mk
TRANSIENT_DIR ?= /dev/null
LOAD_PATH = -L . -L $(TRANSIENT_DIR)
BATCH = emacs -Q --batch $(LOAD_PATH)
all: piem.elc piem-b4.elc piem.info
.PHONY: clean
clean:
$(RM) *.elc *-autoloads.el *.info
%.info: %.texi
makeinfo $<
%.elc: %.el
$(BATCH) -f batch-byte-compile $<
%-autoloads.el: %.el
$(BATCH) --eval \
"(let ((make-backup-files nil)) \
(update-file-autoloads \"$(CURDIR)/$<\" t \"$(CURDIR)/$@\"))"
|