mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Rearrange makefile
This commit is contained in:
18
Makefile
18
Makefile
@ -9,10 +9,18 @@ update: autoloads
|
|||||||
@cask install --verbose 2>&1 | sed 's/^/ /'
|
@cask install --verbose 2>&1 | sed 's/^/ /'
|
||||||
@cask update --verbose 2>&1 | sed 's/^/ /'
|
@cask update --verbose 2>&1 | sed 's/^/ /'
|
||||||
@echo "Compiling certain scripts"
|
@echo "Compiling certain scripts"
|
||||||
@emacs -Q --batch -f batch-byte-compile init-packages.el core/core.el core/core-os-osx.el contrib/*.el 2>&1 | sed 's/^/ /'
|
@$(EMACS) -Q --batch -f batch-byte-compile init-packages.el core/core.el core/core-os-osx.el contrib/*.el 2>&1 | sed 's/^/ /'
|
||||||
|
|
||||||
clean: clean-files clean-elc
|
clean: clean-files clean-elc
|
||||||
|
|
||||||
|
autoloads:
|
||||||
|
@echo "Generating autoloads"
|
||||||
|
@$(EMACS) --script scripts/generate-autoloads.el 2>&1 | sed 's/^/ /'
|
||||||
|
|
||||||
|
compile: autoloads
|
||||||
|
@echo "Byte-compiling .emacs.d"
|
||||||
|
@$(EMACS) --script scripts/byte-compile.el | sed 's/^/ /'
|
||||||
|
|
||||||
clean-files:
|
clean-files:
|
||||||
@echo "Cleaning derelict emacs files"
|
@echo "Cleaning derelict emacs files"
|
||||||
@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 auto-save-list recentf places ido.last async-bytecomp.log elpa projectile-bookmarks.eld projectile.cache company-statistics-cache.el tramp smex-items
|
||||||
@ -25,11 +33,3 @@ clean-elc:
|
|||||||
clean-wg:
|
clean-wg:
|
||||||
@echo "Removing default session"
|
@echo "Removing default session"
|
||||||
@rm -f "private/cache/`hostname`/`emacs --version | grep -o '2[0-9]\.[0-9]'`/wg-default"
|
@rm -f "private/cache/`hostname`/`emacs --version | grep -o '2[0-9]\.[0-9]'`/wg-default"
|
||||||
|
|
||||||
autoloads:
|
|
||||||
@echo "Generating autoloads"
|
|
||||||
@emacs --script scripts/generate-autoloads.el 2>&1 | sed 's/^/ /'
|
|
||||||
|
|
||||||
compile: autoloads
|
|
||||||
@echo "Byte-compiling .emacs.d"
|
|
||||||
emacs --script scripts/byte-compile.el | sed 's/^/ /'
|
|
||||||
|
Reference in New Issue
Block a user