Skip to content

Commit

Permalink
Add check target to Makefile to run lesstest.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Oct 22, 2022
1 parent c8163e3 commit 1a4f8e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ LDFLAGS = @LDFLAGS@
CPPFLAGS = @CPPFLAGS@
EXEEXT = @EXEEXT@
O=o
ifneq ($(strip $(LESSTEST)),)
CPPFLAGS += -DLESSTEST
endif

LIBS = @LIBS@

Expand Down Expand Up @@ -96,9 +99,12 @@ uninstall:
info:
install-info:
dvi:
check:
installcheck:

check:
if [ -x less$(EXEEXT) ] && ./less$(EXEEXT) -V | grep -q LESSTEST; then :; else make clean; make LESSTEST=1; fi
cd $(srcdir)/lesstest && make && ./runtest -e lt

TAGS:
cd ${srcdir} && etags *.c *.h

Expand Down

0 comments on commit 1a4f8e9

Please sign in to comment.