Trivial make check target

(Imported from RCS by Andreas Gruenbacher)
This commit is contained in:
Paul Eggert 2003-07-06 05:05:56 +00:00 committed by Andreas Gruenbacher
parent 7a5222a06d
commit a6ccce8a33
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-05 Paul Eggert <eggert@twinsun.com>
* Makefile.in (check): Add a trivial check that "patch --help" works.
From a suggestion by Ed Avis.
2003-07-02 Paul Eggert <eggert@twinsun.com>
* pch.c (intuit_diff_type): If a unified-diff header line contains

View File

@ -99,9 +99,12 @@ patch_name = `echo patch | sed '$(transform)'`
all:: patch$(EXEEXT)
info::
check::
installcheck::
# Not a good check, but it's better than nothing.
check:: all
./patch --help >/dev/null
COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) -Ded_PROGRAM=\"$(ed_PROGRAM)\" \
-I. -I$(srcdir) $(CFLAGS)