[FFmpeg-devel] [patch] make testclean

Måns Rullgård mans
Sat Jan 10 17:00:28 CET 2009


"Francesco Cosoleto" <cosoleto at gmail.com> writes:

> Hi,
>
> Attached patch adds a separate 'testclean' rule to clean regression tests
> data without removing compiled files.
>
> Regards,
> Francesco Cosoleto
>
> Index: Makefile
> ===================================================================
> --- Makefile	(revisione 16517)
> +++ Makefile	(copia locale)
> @@ -149,14 +149,16 @@
>  	rm -f $(addprefix "$(SHLIBDIR)/",$(ALLHOOKS_SRCS:.c=$(SLIBSUF)))
>  	-rmdir "$(SHLIBDIR)/vhook/"
>  
> -clean::
> +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
>  
> +testclean:
> +	rm -rf tests/vsynth1 tests/vsynth2 tests/data tests/asynth1.sw tests/*~
> +
>  distclean::
>  	rm -f version.h config.* vhook/*.d

OK

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list