From 5be30eeb1925a641ee02cbdfd3bd28486b4878ae Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 24 Nov 2015 20:51:46 -0500 Subject: [PATCH] More informative make commands --- Makefile | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index f7455cbd6..6433b6719 100644 --- a/Makefile +++ b/Makefile @@ -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