2015-06-12 17:22:33 +02:00
|
|
|
EMACS=emacs
|
2014-12-05 17:28:03 -05:00
|
|
|
|
2015-06-19 23:57:59 +02:00
|
|
|
all: update
|
2015-01-23 23:57:42 -05:00
|
|
|
|
2015-06-20 22:34:02 +02:00
|
|
|
update: autoloads
|
2015-11-24 20:51:46 -05: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-05 17:28:03 -05:00
|
|
|
|
2015-11-24 20:51:46 -05:00
|
|
|
clean: clean-extras clean-elc
|
|
|
|
|
|
|
|
clean-elc:
|
|
|
|
@rm -f *.elc {core,modules,private,contrib}/*.elc {core,modules}/lib/*.elc
|
2015-06-12 17:22:33 +02:00
|
|
|
|
|
|
|
clean-extras:
|
2015-11-24 20:51:46 -05: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 17:22:33 +02:00
|
|
|
|
|
|
|
autoloads:
|
2015-11-24 20:51:46 -05:00
|
|
|
@echo "Generating autoloads"
|
|
|
|
@emacs --script scripts/generate-autoloads.el 2>&1 | sed 's/^/ /'
|
2015-06-19 23:57:59 +02:00
|
|
|
|
|
|
|
compile: autoloads
|
2015-11-23 19:40:55 -05:00
|
|
|
emacs --script scripts/byte-compile.el
|