summaryrefslogtreecommitdiffstats
path: root/usr.bin/cpio
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2008-08-24 05:49:36 +0000
committerkientzle <kientzle@FreeBSD.org>2008-08-24 05:49:36 +0000
commitd35834e169dec630b09ae6ad50758b58782d038d (patch)
tree1831991fd8f8592415f71457dfac1dd7de1faddf /usr.bin/cpio
parent1f8b9faf1465aca6cbd84b83e4f65e3275ba6bc5 (diff)
downloadFreeBSD-src-d35834e169dec630b09ae6ad50758b58782d038d.zip
FreeBSD-src-d35834e169dec630b09ae6ad50758b58782d038d.tar.gz
straighten out the "clean" target
Diffstat (limited to 'usr.bin/cpio')
-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 7e0cb5d..7da5a60 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.*
OpenPOWER on IntegriCloud