More informative make commands

This commit is contained in:
Henrik Lissner 2015-11-24 20:51:46 -05:00
parent d5a354c275
commit 5be30eeb19

View file

@ -3,20 +3,26 @@ EMACS=emacs
all: update
update: autoloads
git pull
cask install --verbose
cask outdated
cask update --verbose
emacs -Q --batch -f batch-byte-compile init.el init-load-path.el core/core.el core/core-os-osx.el contrib/*.el
@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
clean: clean-extras
rm -f *.elc {core,modules,private,contrib}/*.elc {core,modules}/lib/*.elc
clean: clean-extras clean-elc
clean-elc:
@rm -f *.elc {core,modules,private,contrib}/*.elc {core,modules}/lib/*.elc
clean-extras:
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
@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
autoloads:
emacs --script scripts/generate-autoloads.el
@echo "Generating autoloads"
@emacs --script scripts/generate-autoloads.el 2>&1 | sed 's/^/ /'
compile: autoloads
emacs --script scripts/byte-compile.el