doomemacs/Makefile

29 lines
850 B
Makefile
Raw Normal View History

2015-06-12 23:22:33 +08:00
EMACS=emacs
2014-12-06 06:28:03 +08:00
2015-06-20 05:57:59 +08:00
all: update
2015-01-24 12:57:42 +08:00
2015-06-21 04:34:02 +08:00
update: autoloads
2015-11-25 09:51:46 +08:00
@echo "Updating repo"
@git pull | sed 's/^/ /'
@cask install --verbose
@echo "Updating outdated plugins"
@cask outdated | sed 's/^/ /'
@cask update --verbose
@echo "Compiling certain scripts"
@emacs -Q --batch -f batch-byte-compile init.el init-load-path.el core/core.el core/core-os-osx.el contrib/*.el
2014-12-06 06:28:03 +08:00
2015-11-25 09:51:46 +08:00
clean: clean-extras clean-elc
clean-elc:
@rm -f *.elc {core,modules,private,contrib}/*.elc {core,modules}/lib/*.elc
2015-06-12 23:22:33 +08:00
clean-extras:
2015-11-25 09:51:46 +08:00
@rm -rf auto-save-list recentf places ido.last async-bytecomp.log elpa projectile-bookmarks.eld projectile.cache company-statistics-cache.el tramp smex-items semanticdb var anaconda-mode
2015-06-12 23:22:33 +08:00
autoloads:
2015-11-25 09:51:46 +08:00
@echo "Generating autoloads"
@emacs --script scripts/generate-autoloads.el 2>&1 | sed 's/^/ /'
2015-06-20 05:57:59 +08:00
compile: autoloads
2015-11-24 08:40:55 +08:00
emacs --script scripts/byte-compile.el