aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-09-27 16:50:06 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2023-09-27 16:50:06 +0200
commit4884caa838bea48b7cca28d7bda8faed930b03b1 (patch)
tree8c862d59e6f48782da789681e77a4bcf35b1aef5 /Makefile
parent62dd734224de35c44eaf95d2c0c46ddc59117f82 (diff)
parenta417d78f8abfc46386a4008fd694b77ba3e8fb2b (diff)
Merge branch 'main' into emacs-30
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fa4de4b..0e18f33 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
.POSIX:
-.PHONY: all compile test clean check
+.PHONY: all compile force-compile test clean check
.SUFFIXES: .el .elc
EMACS = emacs
@@ -18,6 +18,11 @@ all: compile
compile: $(BYTEC)
+force-compile:
+ sed -i "s/ no-byte-compile: t;/ no-byte-compile: nil;/" $(BYTEC:.elc=.el)
+ make compile
+ sed -i "s/ no-byte-compile: nil;/ no-byte-compile: t;/" $(BYTEC:.elc=.el)
+
test:
$(EMACS) --version
$(EMACS) -Q --batch -L . -l compat-tests.el -f ert-run-tests-batch-and-exit