From 21353e7f83163bfecd07bedee2dabebe5b4e2d2f Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sun, 24 Aug 2008 05:49:36 +0000 Subject: [PATCH] straighten out the "clean" target --- usr.bin/cpio/test/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/usr.bin/cpio/test/Makefile b/usr.bin/cpio/test/Makefile index 7e0cb5de2ec..7da5a606226 100644 --- a/usr.bin/cpio/test/Makefile +++ b/usr.bin/cpio/test/Makefile @@ -37,7 +37,7 @@ SRCS= list.h \ ${TESTS} \ main.c -CLEANFILES+= list.h +CLEANFILES+= list.h bsdcpio_test NO_MAN=yes @@ -62,12 +62,8 @@ ${.OBJDIR}/list.h list.h: ${TESTS} Makefile (cd ${.CURDIR}; cat ${TESTS}) | grep DEFINE_TEST > list.h clean: - rm -f *.out - rm -f *.o - rm -f *.core + rm -f ${CLEANFILES} rm -f *~ - rm -f list.h - rm -f archive.h ../archive.h -chmod -R +w /tmp/bsdcpio_test.* rm -rf /tmp/bsdcpio_test.*