Add a separate 'testclean' rule to clean regression test data without
authorFrancesco Cosoleto <cosoleto@gmail.com>
Sat, 10 Jan 2009 20:31:40 +0000 (20:31 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 10 Jan 2009 20:31:40 +0000 (20:31 +0000)
removing compiled files.
patch by Francesco Cosoleto, cosoleto gmail com

Originally committed as revision 16518 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index 00b275d..2c94537 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -149,10 +149,12 @@ uninstall-vhook:
        rm -f $(addprefix "$(SHLIBDIR)/",$(ALLHOOKS_SRCS:.c=$(SLIBSUF)))
        -rmdir "$(SHLIBDIR)/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 -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
        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