From 250dd6f0f7be625177e6a6ce8cab722a62f363ef Mon Sep 17 00:00:00 2001 From: Francesco Cosoleto Date: Sat, 10 Jan 2009 20:31:40 +0000 Subject: [PATCH] Add a separate 'testclean' rule to clean regression test data without removing compiled files. patch by Francesco Cosoleto, cosoleto gmail com Originally committed as revision 16518 to svn://svn.ffmpeg.org/ffmpeg/trunk --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 00b275d9cc..2c94537f73 100644 --- a/Makefile +++ b/Makefile @@ -149,10 +149,12 @@ uninstall-vhook: rm -f $(addprefix "$(SHLIBDIR)/",$(ALLHOOKS_SRCS:.c=$(SLIBSUF))) -rmdir "$(SHLIBDIR)/vhook/" -clean:: +testclean: + rm -rf tests/vsynth1 tests/vsynth2 tests/data tests/asynth1.sw tests/*~ + +clean:: testclean rm -f $(ALLPROGS) $(ALLPROGS_G) output_example$(EXESUF) rm -f doc/*.html doc/*.pod doc/*.1 - rm -rf tests/vsynth1 tests/vsynth2 tests/data tests/asynth1.sw tests/*~ rm -f $(addprefix tests/,$(addsuffix $(EXESUF),audiogen videogen rotozoom seek_test tiny_psnr)) rm -f $(addprefix tools/,$(addsuffix $(EXESUF),cws2fws pktdumper qt-faststart trasher)) rm -f vhook/*.o vhook/*~ vhook/*.so vhook/*.dylib vhook/*.dll