Cleaner makefile + add make clean-wg
for startup emergencies
This commit is contained in:
parent
148a6d2ed6
commit
7399511374
1 changed files with 9 additions and 6 deletions
15
Makefile
15
Makefile
|
@ -12,17 +12,20 @@ update: autoloads
|
||||||
@echo "Compiling certain scripts"
|
@echo "Compiling certain scripts"
|
||||||
@emacs -Q --batch -f batch-byte-compile init-load-path.el core/core.el core/core-os-osx.el contrib/*.el 2>&1 | sed 's/^/ /'
|
@emacs -Q --batch -f batch-byte-compile init-load-path.el core/core.el core/core-os-osx.el contrib/*.el 2>&1 | sed 's/^/ /'
|
||||||
|
|
||||||
clean: clean-extras clean-elc
|
clean:
|
||||||
|
@echo "Cleaning *.elc and derelict emacs files"
|
||||||
clean-elc:
|
|
||||||
@rm -f *.elc {core,modules,private,contrib}/*.elc {core,modules}/lib/*.elc
|
@rm -f *.elc {core,modules,private,contrib}/*.elc {core,modules}/lib/*.elc
|
||||||
|
@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
|
||||||
|
@rm -rf var semanticdb anaconda-mode
|
||||||
|
|
||||||
clean-extras:
|
clean-wg:
|
||||||
@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
|
@echo "Removing default session"
|
||||||
|
@rm -f "private/cache/`hostname`/`emacs --version | grep -o '2[0-9]\.[0-9]'`/wg-default"
|
||||||
|
|
||||||
autoloads:
|
autoloads:
|
||||||
@echo "Generating autoloads"
|
@echo "Generating autoloads"
|
||||||
@emacs --script scripts/generate-autoloads.el 2>&1 | sed 's/^/ /'
|
@emacs --script scripts/generate-autoloads.el 2>&1 | sed 's/^/ /'
|
||||||
|
|
||||||
compile: autoloads
|
compile: autoloads
|
||||||
emacs --script scripts/byte-compile.el
|
@echo "Byte-compiling .emacs.d"
|
||||||
|
emacs --script scripts/byte-compile.el | sed 's/^/ /'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue