From: Jim Meyering Date: Sun, 5 Dec 2004 19:37:49 +0000 (+0000) Subject: (unit-test): New target. X-Git-Tag: v5.3.0~207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=334c1b180105ebcbba3c1bb321bc9d9cadee31ed;p=thirdparty%2Fcoreutils.git (unit-test): New target. (check): Depend on it. (noinst_PROGRAMS): Define. --- diff --git a/lib/Makefile.am b/lib/Makefile.am index 2561311efb..90eea079dd 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -18,6 +18,7 @@ ## 02111-1307, USA. noinst_LIBRARIES = libfetish.a +noinst_PROGRAMS = t-fpending AM_CPPFLAGS = -I.. -I$(srcdir) DEFS += -DLIBDIR=\"$(libdir)\" @@ -246,6 +247,11 @@ MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t BUILT_SOURCES += $(GETOPT_H) EXTRA_DIST += getopt_.h getopt_int.h +check: unit-test + +unit-test: + ./t-fpending > /dev/null + # We need the following in order to create an when the system # doesn't have one that works with the given compiler. all-local $(lib_OBJECTS): $(GETOPT_H)