Skip to content

Commit 5d5ca1b

Browse files
peffgitster
authored andcommitted
Makefile: remove UNIT_TEST_BIN directory with "make clean"
We remove $(UNIT_TEST_PROGS), but that leaves the automatically generated "bin" dir they reside in. And once we start cleaning that, there is no point in removing the individual programs, as they'll by wiped out by the recurse "rm". Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 318ecda commit 5d5ca1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3676,14 +3676,14 @@ cocciclean:
36763676
$(RM) contrib/coccinelle/*.cocci.patch
36773677

36783678
clean: profile-clean coverage-clean cocciclean
3679-
$(RM) -r .build
3679+
$(RM) -r .build $(UNIT_TEST_BIN)
36803680
$(RM) po/git.pot po/git-core.pot
36813681
$(RM) git.res
36823682
$(RM) $(OBJECTS)
36833683
$(RM) headless-git.o
36843684
$(RM) $(LIB_FILE) $(XDIFF_LIB) $(REFTABLE_LIB) $(REFTABLE_TEST_LIB)
36853685
$(RM) $(ALL_PROGRAMS) $(SCRIPT_LIB) $(BUILT_INS) $(OTHER_PROGRAMS)
3686-
$(RM) $(TEST_PROGRAMS) $(UNIT_TEST_PROGS)
3686+
$(RM) $(TEST_PROGRAMS)
36873687
$(RM) $(FUZZ_PROGRAMS)
36883688
$(RM) $(SP_OBJ)
36893689
$(RM) $(HCC)

0 commit comments

Comments
 (0)