aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/cpio/test/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/cpio/test/Makefile b/usr.bin/cpio/test/Makefile
index 7e0cb5de2ec7..7da5a606226a 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.*