diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-02-14 16:06:24 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-14 16:06:24 -0800 |
commit | f5af28b8e9db6617bd991c176adc3fe820091e7f (patch) | |
tree | f2b31eaddb4706e1e99f72666dd0c8a23b431b10 /Makefile | |
parent | Merge branch 'mm/config-local-completion' (diff) | |
parent | Makefile: don't run "rm" without any files (diff) | |
download | tgif-f5af28b8e9db6617bd991c176adc3fe820091e7f.tar.xz |
Merge branch 'mk/make-rm-depdirs-could-be-empty'
"make COMPUTE_HEADER_DEPENDENCIES=no clean" would try to run "rm
-rf $(dep_dirs)" with an empty dep_dir, but some implementations of
"rm -rf" barf on an empty argument list.
* mk/make-rm-depdirs-could-be-empty:
Makefile: don't run "rm" without any files
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2449,8 +2449,7 @@ clean: profile-clean builtin/*.o $(LIB_FILE) $(XDIFF_LIB) $(VCSSVN_LIB) $(RM) $(ALL_PROGRAMS) $(SCRIPT_LIB) $(BUILT_INS) git$X $(RM) $(TEST_PROGRAMS) - $(RM) -r bin-wrappers - $(RM) -r $(dep_dirs) + $(RM) -r bin-wrappers $(dep_dirs) $(RM) -r po/build/ $(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h $(ETAGS_TARGET) tags cscope* $(RM) -r $(GIT_TARNAME) .doc-tmp-dir |