Mercurial > mplayer.hg
changeset 33793:a1a4df3986f8
build: Rely on Libav/FFmpeg build system to run clean targets.
This saves some maintenance work going forward.
author | diego |
---|---|
date | Tue, 12 Jul 2011 14:12:41 +0000 |
parents | 6d00f9ad294c |
children | 141c2ca733e7 |
files | Makefile |
diffstat | 1 files changed, 5 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Tue Jul 12 10:19:59 2011 +0000 +++ b/Makefile Tue Jul 12 14:12:41 2011 +0000 @@ -710,30 +710,6 @@ INSTALL_TARGETS-$(MPLAYER) += install-mplayer install-mplayer-man DIRS = . \ - ffmpeg/libavcodec \ - ffmpeg/libavcodec/alpha \ - ffmpeg/libavcodec/arm \ - ffmpeg/libavcodec/bfin \ - ffmpeg/libavcodec/mlib \ - ffmpeg/libavcodec/ppc \ - ffmpeg/libavcodec/sh4 \ - ffmpeg/libavcodec/sparc \ - ffmpeg/libavcodec/x86 \ - ffmpeg/libavformat \ - ffmpeg/libavutil \ - ffmpeg/libavutil/arm \ - ffmpeg/libavutil/bfin \ - ffmpeg/libavutil/ppc \ - ffmpeg/libavutil/sh4 \ - ffmpeg/libavutil/tomi \ - ffmpeg/libavutil/x86 \ - ffmpeg/libpostproc \ - ffmpeg/libswscale \ - ffmpeg/libswscale/bfin \ - ffmpeg/libswscale/mlib \ - ffmpeg/libswscale/ppc \ - ffmpeg/libswscale/sparc \ - ffmpeg/libswscale/x86 \ gui \ gui/skin \ gui/ui \ @@ -940,11 +916,14 @@ rm -f $(MANDIR)/man1/mplayer.1 $(MANDIR)/man1/mencoder.1 rm -f $(foreach lang,$(MAN_LANGS),$(foreach man,mplayer.1 mencoder.1,$(MANDIR)/$(lang)/man1/$(man))) -clean: +clean distclean:: + $(MAKE) -C ffmpeg $@ + +clean:: -rm -f $(call ADD_ALL_DIRS,/*.o /*.a /*.ho /*~) -rm -f $(call ADD_ALL_EXESUFS,mplayer mencoder) -distclean: clean testsclean toolsclean driversclean dhahelperclean +distclean:: clean testsclean toolsclean driversclean dhahelperclean -rm -rf DOCS/tech/doxygen -rm -f $(call ADD_ALL_DIRS,/*.d) -rm -f config.* codecs.conf.h help_mp.h version.h TAGS tags