aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-05-03 12:27:54 -0400
committerKyle Meyer <kyle@kyleam.com>2020-05-07 00:37:11 -0400
commit4d386818291d2e3b4072b188ab93e522968ea53e (patch)
tree0232d1ae10598283c472020d4676d30b188b7b46 /Makefile
parent776393889a3be6f79f800506ccc1587d635cc903 (diff)
downloadpiem-4d386818291d2e3b4072b188ab93e522968ea53e.tar.gz
piem: Sketch a base
This does nothing useful, but the idea is that it never will do much of anything on its own. Different libraries---piem-notmuch, piem-elfeed, piem-gnus, and so on---will populate its hooks, teaching it how to extract information.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ddaa3b2..8b04a53 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,19 @@
BATCH = emacs -Q --batch
-all: piem.info
+all: piem.elc piem.info
.PHONY: clean
clean:
- $(RM) *.info
+ $(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)/$@\"))"