mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-06-07 08:14:16 -04:00
Emacsg: make: Silence bogus warnings on newer Emacsen
I mean, what am I supposed to do here? 26.1 doesn't want to use `if-let' and 25.3 doesn't have `if-let*'.
This commit is contained in:
parent
17f4770a18
commit
45b352b5d0
10
Makefile
10
Makefile
@ -10,6 +10,10 @@ EMACS ?= emacs
|
||||
|
||||
all: build
|
||||
|
||||
SILENCIO = --load subr-x
|
||||
SILENCIO += --eval "(put 'if-let 'byte-obsolete-info nil)"
|
||||
SILENCIO += --eval "(put 'when-let 'byte-obsolete-info nil)"
|
||||
|
||||
help:
|
||||
$(info )
|
||||
$(info make [all|build] = rebuild all drones and init files)
|
||||
@ -21,7 +25,7 @@ help:
|
||||
|
||||
build:
|
||||
@rm -f init.elc
|
||||
@$(EMACS) -Q --batch -L lib/borg --load borg \
|
||||
@$(EMACS) -Q --batch -L lib/borg --load borg $(SILENCIO) \
|
||||
--funcall borg-initialize \
|
||||
--funcall borg-batch-rebuild 2>&1
|
||||
|
||||
@ -33,12 +37,12 @@ build-init:
|
||||
|
||||
quick:
|
||||
@rm -f init.elc
|
||||
@$(EMACS) -Q --batch -L lib/borg --load borg \
|
||||
@$(EMACS) -Q --batch -L lib/borg --load borg $(SILENCIO) \
|
||||
--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 $(SILENCIO) \
|
||||
--funcall borg-initialize \
|
||||
--eval '(borg-build "$(@F)")' 2>&1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user