diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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)/$@\"))" |