[MPlayer-cvslog] r35688 - trunk/Makefile

ib subversion at mplayerhq.hu
Sun Dec 16 00:08:43 CET 2012


Author: ib
Date: Sun Dec 16 00:08:43 2012
New Revision: 35688

Log:
Let 'make clean' remove all files that 'make' can regenerate.

Leave only stuff generated by configure to 'make distclean'.

Patch suggested by reimar, applied with just one change:
DOCS/xml/html-chunk.xsl and DOCS/xml/html-single.xsl stay
with distclean, because they are generated by configure.

Modified:
   trunk/Makefile

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Sat Dec 15 21:15:35 2012	(r35687)
+++ trunk/Makefile	Sun Dec 16 00:08:43 2012	(r35688)
@@ -944,17 +944,17 @@ uninstall:
 clean:
 	-$(MAKE) -C ffmpeg $@
 	-rm -rf tests/res
-	-rm -f $(call ADD_ALL_DIRS,/*.o /*.a /*.ho /*~)
+	-rm -f $(call ADD_ALL_DIRS,/*.o /*.d /*.a /*.ho /*~)
 	-rm -f $(call ADD_ALL_EXESUFS,mplayer mencoder)
+	-rm -f $(VIDIX_PCI_FILES)
+	-rm -f $(call ADD_ALL_EXESUFS,codec-cfg cpuinfo)
+	-rm -f codecs.conf.h help_mp.h version.h
 	-rm -rf DOCS/tech/doxygen DOCS/HTML
 
 distclean: clean testsclean toolsclean driversclean dhahelperclean
 	-$(MAKE) -C ffmpeg $@
 	-rm -f DOCS/xml/html-chunk.xsl DOCS/xml/html-single.xsl
-	-rm -f $(call ADD_ALL_DIRS,/*.d)
-	-rm -f config.* codecs.conf.h help_mp.h version.h TAGS tags
-	-rm -f $(VIDIX_PCI_FILES)
-	-rm -f $(call ADD_ALL_EXESUFS,codec-cfg cpuinfo)
+	-rm -f config.* TAGS tags
 
 doxygen:
 	doxygen DOCS/tech/Doxyfile


More information about the MPlayer-cvslog mailing list