aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-07-18 22:04:07 +0200
committerPhilip Kaludercic <philipk@posteo.net>2022-08-02 14:54:09 +0200
commitae2bf0aee526729e0df6600ba23ff9204ddf8931 (patch)
tree87a7238ba6bdd85191ba8684a018389cfa56dca7 /Makefile
parent9083cfc4f65eea86b91cba9298fd3138f768ada1 (diff)
parent2ee63f46b249eebcee881b0bb3ac69e6476fa7c0 (diff)
Merge branch 'master' into emacs-29.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile37
1 files changed, 25 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index 7148b2f..37700c0 100644
--- a/Makefile
+++ b/Makefile
@@ -3,26 +3,39 @@
.SUFFIXES: .el .elc
EMACS = emacs
-BYTEC = compat-help.elc \
- compat-macs.elc \
- compat-24.4.elc \
- compat-25.1.elc \
- compat-26.1.elc \
- compat-27.1.elc \
- compat-28.1.elc \
- compat-29.1.elc \
+MAKEINFO = makeinfo
+BYTEC = compat-macs.elc \
+ compat-help.elc \
+ compat-font-lock.elc \
+ compat-24.elc \
+ compat-25.elc \
+ compat-26.elc \
+ compat-27.elc \
+ compat-28.elc \
+ compat-29.elc \
compat.elc
-all: compile test
+all: compile
compile: $(BYTEC)
-test:
+test: compile
+ $(EMACS) --version
$(EMACS) -Q --batch -L . -l compat-tests.el -f ert-run-tests-batch-and-exit
clean:
- $(RM) $(BYTEC)
+ $(RM) $(BYTEC) compat.info
+
+compat-24.el: compat-macs.el
+compat-25.el: compat-macs.el
+compat-26.el: compat-macs.el
+compat-27.el: compat-macs.el
+compat-28.el: compat-macs.el
+compat-29.el: compat-macs.el
+compat-font-lock.el: compat-macs.el
.el.elc:
- $(EMACS) -Q --batch -L . -f batch-byte-compile $^
+ $(EMACS) -Q --batch -L . -f batch-byte-compile $<
+compat.info: compat.texi
+ $(MAKEINFO) $<