mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-05 16:37:39 -04:00
Emacsg: Makefile: respect EMACS environment variable
This commit is contained in:
parent
69bedcb8a1
commit
9756b42aa5
10
Makefile
10
Makefile
@ -3,6 +3,8 @@
|
||||
# Author: Jonas Bernoulli <jonas@bernoul.li>
|
||||
# License: GPL v3 <https://www.gnu.org/licenses/gpl-3.0.txt>
|
||||
|
||||
EMACS ?= emacs
|
||||
|
||||
.PHONY: all help build build-init quick bootstrap
|
||||
.FORCE:
|
||||
|
||||
@ -19,24 +21,24 @@ help:
|
||||
|
||||
build:
|
||||
@rm -f init.elc
|
||||
@emacs -Q --batch -L lib/borg --load borg \
|
||||
@$(EMACS) -Q --batch -L lib/borg --load borg \
|
||||
--funcall borg-initialize \
|
||||
--funcall borg-batch-rebuild 2>&1
|
||||
|
||||
build-init:
|
||||
@rm -f init.elc
|
||||
@emacs -Q --batch -L lib/borg --load borg \
|
||||
@$(EMACS) -Q --batch -L lib/borg --load borg \
|
||||
--funcall borg-initialize \
|
||||
--funcall borg-batch-rebuild-init 2>&1
|
||||
|
||||
quick:
|
||||
@rm -f init.elc
|
||||
@emacs -Q --batch -L lib/borg --load borg \
|
||||
@$(EMACS) -Q --batch -L lib/borg --load borg \
|
||||
--funcall borg-initialize \
|
||||
--eval '(borg-batch-rebuild t)' 2>&1
|
||||
|
||||
lib/%: .FORCE
|
||||
@emacs -Q --batch -L lib/borg --load borg \
|
||||
@$(EMACS) -Q --batch -L lib/borg --load borg \
|
||||
--funcall borg-initialize \
|
||||
--eval '(borg-build "$(@F)")' 2>&1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user