Update makefile and scripts
This commit is contained in:
parent
1b74ead1ea
commit
08a82bf2ae
3 changed files with 26 additions and 11 deletions
18
Makefile
18
Makefile
|
@ -1,22 +1,20 @@
|
|||
EMACS=emacs
|
||||
|
||||
all: install update
|
||||
all: update
|
||||
|
||||
install:
|
||||
update:
|
||||
git pull
|
||||
@cask install
|
||||
|
||||
update: install autoloads
|
||||
@cask update
|
||||
|
||||
compile:
|
||||
@cask exec ${EMACS} --script scripts/byte-compile.el
|
||||
|
||||
clean: clean-extras
|
||||
@rm -f init.elc init-load-path.elc {core,modules,private,contrib}/*.elc {core,modules}/lib/*.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
|
||||
|
||||
autoloads:
|
||||
@rm -rf core/autoloads.el
|
||||
@cask exec ${EMACS} --script scripts/generate-autoloads.el
|
||||
@emacs --script scripts/generate-autoloads.el
|
||||
|
||||
compile: autoloads
|
||||
@emacs --script scripts/byte-compile.el
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue