doomemacs/Makefile

26 lines
544 B
Makefile
Raw Normal View History

2015-06-12 17:22:33 +02:00
EMACS=emacs
2017-01-16 23:30:37 -05:00
CACHE_DIR=""
2016-03-25 13:37:48 -04:00
2017-01-16 23:30:37 -05:00
all: install update
2016-05-29 00:40:13 -04:00
2017-01-16 23:30:37 -05:00
install: autoloads
@$(EMACS) -Q --batch --eval '(setq use-package-always-ensure t)' -l init.el
2017-01-16 23:30:37 -05:00
update: autoloads
@$(EMACS) -Q --batch -l init.el -f 'doom/packages-update'
2016-03-25 13:37:48 -04:00
2017-01-16 23:30:37 -05:00
autoloads:
@$(EMACS) -Q --batch -l init.el -f 'doom/refresh-autoloads'
2016-03-25 13:37:48 -04:00
2017-01-16 23:30:37 -05:00
compile:
@$(EMACS) -Q --batch -l init.el -f 'doom/byte-compile'
2016-03-25 13:37:48 -04:00
2017-01-16 23:30:37 -05:00
clean: clean-elc
@$(EMACS) -Q --batch -l init.el -f 'doom/packages-clean'
2016-03-25 13:37:48 -04:00
2017-01-16 23:30:37 -05:00
clean-elc:
@rm -fv init.elc
@find {core,modules} -type f -iname '*.elc' -exec rm \-fv {} \;
2016-04-08 01:44:10 -04:00
2017-01-16 23:30:37 -05:00
.PHONY: all