Skip to content

Commit f5af28b

Browse files
committed
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
2 parents b1bcb97 + 61564ca commit f5af28b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2449,8 +2449,7 @@ clean: profile-clean
24492449
builtin/*.o $(LIB_FILE) $(XDIFF_LIB) $(VCSSVN_LIB)
24502450
$(RM) $(ALL_PROGRAMS) $(SCRIPT_LIB) $(BUILT_INS) git$X
24512451
$(RM) $(TEST_PROGRAMS)
2452-
$(RM) -r bin-wrappers
2453-
$(RM) -r $(dep_dirs)
2452+
$(RM) -r bin-wrappers $(dep_dirs)
24542453
$(RM) -r po/build/
24552454
$(RM) *.spec *.pyc *.pyo */*.pyc */*.pyo common-cmds.h $(ETAGS_TARGET) tags cscope*
24562455
$(RM) -r $(GIT_TARNAME) .doc-tmp-dir

0 commit comments

Comments
 (0)