mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-07-26 11:24:25 -04:00
Emacsg: stop suppressing certain byte-compile warnings
A forward compatibility package `cl-generic', which provides `cl-defgeneric' and `cl-defmethod' for older Emacsen, is now available from GNU Elpa.
This commit is contained in:
parent
8ec372deee
commit
186925aa07
12
Makefile
12
Makefile
@ -1,4 +1,4 @@
|
||||
# Copyright (C) 2016 Jonas Bernoulli
|
||||
# Copyright (C) 2016-2017 Jonas Bernoulli
|
||||
#
|
||||
# Author: Jonas Bernoulli <jonas@bernoul.li>
|
||||
# License: GPL v3 <https://www.gnu.org/licenses/gpl-3.0.txt>
|
||||
@ -6,10 +6,6 @@
|
||||
.PHONY: all help build build-init quick bootstrap
|
||||
.FORCE:
|
||||
|
||||
SUPPRESS_WARNINGS = 2>&1 | grep -v
|
||||
SUPPRESS_WARNINGS += -e "‘defgeneric’ is an obsolete macro"
|
||||
SUPPRESS_WARNINGS += -e "‘defmethod’ is an obsolete macro"
|
||||
|
||||
all: build
|
||||
|
||||
help:
|
||||
@ -25,7 +21,7 @@ build:
|
||||
@rm -f init.elc
|
||||
@emacs -Q --batch -L lib/borg --load borg \
|
||||
--funcall borg-initialize \
|
||||
--funcall borg-batch-rebuild $(SUPPRESS_WARNINGS)
|
||||
--funcall borg-batch-rebuild 2>&1
|
||||
|
||||
build-init:
|
||||
@rm -f init.elc
|
||||
@ -37,12 +33,12 @@ quick:
|
||||
@rm -f init.elc
|
||||
@emacs -Q --batch -L lib/borg --load borg \
|
||||
--funcall borg-initialize \
|
||||
--eval '(borg-batch-rebuild t)' $(SUPPRESS_WARNINGS)
|
||||
--eval '(borg-batch-rebuild t)' 2>&1
|
||||
|
||||
lib/%: .FORCE
|
||||
@emacs -Q --batch -L lib/borg --load borg \
|
||||
--funcall borg-initialize \
|
||||
--eval '(borg-build "$(@F)")' $(SUPPRESS_WARNINGS)
|
||||
--eval '(borg-build "$(@F)")' 2>&1
|
||||
|
||||
bootstrap:
|
||||
@printf "\n=== Running 'git submodule init' ===\n\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user