# HG changeset patch # User ib # Date 1355612923 0 # Node ID bff329dcd7d10800adce97eab53be7cc6d1fb585 # Parent 7f77500c982baad086a118a271e373cd284fa0fe 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. diff -r 7f77500c982b -r bff329dcd7d1 Makefile --- a/Makefile Sat Dec 15 20:15:35 2012 +0000 +++ b/Makefile Sat Dec 15 23:08:43 2012 +0000 @@ -944,17 +944,17 @@ 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