Don't run test by default, make it a TEST_TARGET.

XXX make test needs ksh
This commit is contained in:
joerg 2006-01-09 18:37:26 +00:00
parent 228eeacad9
commit 8a91cd5ba9
3 changed files with 14 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2006/01/09 18:32:39 joerg Exp $
# $NetBSD: Makefile,v 1.5 2006/01/09 18:37:26 joerg Exp $
DISTNAME= pmccabe_2.2-3
PKGNAME= pmccabe-2.2.3
@ -12,4 +12,6 @@ WRKSRC= ${WRKDIR}/pmccabe
CFLAGS+= -D__unix=1
TEST_TARGET= test
.include "../../mk/bsd.pkg.mk"

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2005/02/24 11:19:00 agc Exp $
$NetBSD: distinfo,v 1.2 2006/01/09 18:37:26 joerg Exp $
SHA1 (pmccabe_2.2-3.tar.gz) = 5a05a04e50820cfab714017e0cd28c24a601f955
RMD160 (pmccabe_2.2-3.tar.gz) = 5c89fd12720159b9133ee6923ab6a91879b0ba13
Size (pmccabe_2.2-3.tar.gz) = 54990 bytes
SHA1 (patch-aa) = ff36602cd37662180ab05283082c92ecd5e48ef3
SHA1 (patch-aa) = c0b1bcb232f843eef27e7b3f6f6b251eb5f8495e

View file

@ -1,8 +1,8 @@
$NetBSD: patch-aa,v 1.1.1.1 2005/02/24 11:19:00 agc Exp $
$NetBSD: patch-aa,v 1.2 2006/01/09 18:37:26 joerg Exp $
--- Makefile 2005/02/24 10:53:19 1.1
+++ Makefile 2005/02/24 10:55:17
@@ -10,7 +10,7 @@
@@ -10,7 +10,7 @@ INCLUDES=config.h dmain.h getopt.h pmcca
###############{
# On HP-UX you will have to change this
@ -11,8 +11,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/02/24 11:19:00 agc Exp $
DESTDIR =
@@ -30,7 +30,7 @@
all: $(PROGS) test
@@ -27,10 +27,10 @@ PMOBJS = cparse.o \
nmain.o \
pmccabe.o
-all: $(PROGS) test
+all: $(PROGS)
test: $(PROGS)
- ./testsuite
@ -20,7 +24,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/02/24 11:19:00 agc Exp $
pmccabe: $(PMOBJS)
$(CC) $(CFLAGS) -o pmccabe $(PMOBJS)
@@ -39,12 +39,10 @@
@@ -39,12 +39,10 @@ clean:
rm -f *.[oa] pmccabe decomment *.out */*.out
install: $(PROGS) $(MANPGS) $(DOCS)