Clean up better after the testsuite check programs. Patch from J.W. Schultz.

This commit is contained in:
David Dykstra committed 2003-01-10 15:16:23 +00:00
1 parent ad301e487c
commit 0c0a3e2dd3
2 files changed
+7 -1

No files matched your search

+3
View File
@@ -9,6 +9,7 @@ config.status
conftest.c
conftest.log
dox
getgroups
gmon.out
rsync
shconfig
@@ -17,4 +18,6 @@ tests-dont-exist
testtmp
testtmp.*
tls
trimslash
t_unsafe
zlib/dummy
+4 -1
View File
@@ -43,6 +43,9 @@ TLS_OBJ = tls.o syscall.o lib/permstring.o
# Programs we must have to run the test cases
CHECK_PROGS = rsync tls getgroups trimslash t_unsafe
# Objects for CHECK_PROGS to clean
CHECK_OBJS=getgroups.o t_stub.o t_unsafe.o trimslash.o
# note that the -I. is needed to handle config.h when using VPATH
.c.o:
@OBJ_SAVE@
@@ -106,7 +109,7 @@ proto:
cat $(srcdir)/*.c $(srcdir)/lib/compat.c | awk -f $(srcdir)/mkproto.awk > $(srcdir)/proto.h
clean: cleantests
rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS)
rm -f *~ $(OBJS) rsync $(TLS_OBJ) $(CHECK_PROGS) $(CHECK_OBJS)
cleantests:
rm -rf ./testtmp*