Fix Makefile
* Makefile (eat.elc, check): Pass $(EMACSFLAGS) to $(EMACS).
This commit is contained in:
parent
e95a0d2553
commit
6e425af75d
2 changed files with 9 additions and 6 deletions
|
@ -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
|
||||
|
|
6
Makefile
6
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
|
||||
|
|
Loading…
Add table
Reference in a new issue