Teach make clean about configure and autoconf
[gitweb.git] / Makefile
index a37d40059168680fcf30dac1b3f8fe22ab0bcf40..cef65861c40f6d963952d54f131d231781b69e6d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -729,6 +729,8 @@ clean:
                $(LIB_FILE) $(XDIFF_LIB)
        rm -f $(ALL_PROGRAMS) $(BUILT_INS) git$X
        rm -f *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h TAGS tags
+       rm -rf autom4te.cache
+       rm -f config.log config.mak.autogen configure config.status config.cache
        rm -rf $(GIT_TARNAME) .doc-tmp-dir
        rm -f $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
        rm -f $(htmldocs).tar.gz $(manpages).tar.gz