summaryrefslogtreecommitdiff
path: root/Makefile
blob: c311e762079b621fcc15ee1f720c79a99a899c71 (plain)
1
2
3
4
5
6
7
8
9
BATCH = emacs -Q --batch

LOADDEFS = km-emacs-autoloads.el
ELS = $(shell find lisp -maxdepth 1 \
	-type f \( -name "*.el" -and ! -name "$(LOADDEFS)" \) -print)

lisp/$(LOADDEFS): $(ELS)
	cd lisp && $(BATCH) -l package --eval \
	  '(package-generate-autoloads "km-emacs" default-directory)'