emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/eat 6e425af75d 2/3: Fix Makefile


From: ELPA Syncer
Subject: [nongnu] elpa/eat 6e425af75d 2/3: Fix Makefile
Date: Sun, 8 Oct 2023 04:00:12 -0400 (EDT)

branch: elpa/eat
commit 6e425af75dcc65d8cd6b144b155d92c3f0c16f05
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>

    Fix Makefile
    
    * Makefile (eat.elc, check): Pass $(EMACSFLAGS) to $(EMACS).
---
 CONTRIBUTE | 9 +++++----
 Makefile   | 6 ++++--
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/CONTRIBUTE b/CONTRIBUTE
index 67aa6e5c73..136016a839 100644
--- a/CONTRIBUTE
+++ b/CONTRIBUTE
@@ -36,10 +36,11 @@ patch.
 ** Testing your changes
 
 Please test your changes before committing them or sending them to the
-list.  "make check" runs all the tests.  If possible, add a new test
-along with any bug fix or new functionality you commit (of course,
-some changes cannot be easily tested, but the terminal emulator part
-should be as much tested as possible).
+list.  "make check" runs all the tests.  You will need to set
+"EMACSFLAGS" so that the checker can find the dependencies.  If
+possible, add a new test along with any bug fix or new functionality
+you commit (of course, some changes cannot be easily tested, but the
+terminal emulator part should be as much tested as possible).
 
 Eat uses ERT, Emacs Lisp Regression Testing, for testing.  See
 https://www.gnu.org/software/emacs/manual/html_node/ert/ or run
diff --git a/Makefile b/Makefile
index 558d360731..e1fac8dba4 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ TEXI2DVI ?= texi2dvi
 TEXI2HTML ?= texi2any --no-split --html
 TEXI2PDF ?= texi2pdf
 TEXI2PS ?= texi2any --ps
+EMACSFLAGS ?=
 
 all: eat.elc terminfo info
 
@@ -54,7 +55,7 @@ terminfo: eat.ti
                fi
 
 check: eat.el
-       $(EMACS) -batch -l eat.el -l eat-tests.el \
+       $(EMACS) -batch $(EMACSFLAGS) -l eat.el -l eat-tests.el \
                -f ert-run-tests-batch-and-exit
 
 changelog:
@@ -63,7 +64,8 @@ changelog:
 .PHONY: all terminfo info dvi html pdf check changelog
 
 eat.elc: eat.el
-       $(EMACS) -batch --eval '(byte-compile-file "eat.el")'
+       $(EMACS) -batch $(EMACSFLAGS) \
+               --eval '(byte-compile-file "eat.el")'
 
 eat.info: eat.texi gpl.texi fdl.texi
        $(TEXI2INFO) eat.texi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]