blob: f71fc681ead81fcf3bb94975a0da25ce69468067 (
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
26
27
28
29
30
31
32
33
34
|
-include config.mk
# Rely on EMACSLOADPATH for everything but the current directory.
BATCH = emacs -Q --batch -L .
all: loadpath piem.info piem.elc \
piem-b4.elc piem-elfeed.elc piem-eww.elc \
piem-gnus.elc piem-notmuch.elc
piem-autoloads.el:
$(BATCH) -l package --eval \
'(package-generate-autoloads "piem" default-directory)'
.PHONY: clean
clean:
$(RM) *.elc *-autoloads.el *.info
.PHONY: loadpath
loadpath:
@echo ";;; EMACSLOADPATH=$(EMACSLOADPATH)"
piem-b4.elc: piem-b4.el piem.elc
piem-elfeed.elc: piem-elfeed.el piem.elc
piem-eww.elc: piem-eww.el piem.elc
piem-gnus.elc: piem-gnus.el piem.elc
piem-notmuch.elc: piem-notmuch.el piem.elc
piem.elc: piem.el
%.info: %.texi
makeinfo $<
%.elc: %.el
$(BATCH) -f batch-byte-compile $<
|