Code

Merge branch 'master' into git-po
authorJiang Xin <worldhello.net@gmail.com>
Tue, 28 Feb 2012 04:23:26 +0000 (12:23 +0800)
committerJiang Xin <worldhello.net@gmail.com>
Tue, 28 Feb 2012 04:23:26 +0000 (12:23 +0800)
1  2 
Makefile

diff --cc Makefile
index 88268571261b72280bfd5af9477cdb7857f0d71f,cf2c40b44f8383d002235400660d76ef7f6de33c..be1957a5e986d2e0581123dfe4e0eeb6702c13dc
+++ b/Makefile
@@@ -2576,8 -2635,13 +2635,12 @@@ dist-doc
  
  distclean: clean
        $(RM) configure
 -      $(RM) po/git.pot
  
- clean:
+ profile-clean:
+       $(RM) $(addsuffix *.gcda,$(addprefix $(PROFILE_DIR)/, $(object_dirs)))
+       $(RM) $(addsuffix *.gcno,$(addprefix $(PROFILE_DIR)/, $(object_dirs)))
+ clean: profile-clean
        $(RM) *.o block-sha1/*.o ppc/*.o compat/*.o compat/*/*.o xdiff/*.o vcs-svn/*.o \
                builtin/*.o $(LIB_FILE) $(XDIFF_LIB) $(VCSSVN_LIB)
        $(RM) $(ALL_PROGRAMS) $(SCRIPT_LIB) $(BUILT_INS) git$X