Skip to content

Commit ccc292e

Browse files
committed
Merge branch 'jc/drop-gen-hdrs'
Code cleanup. * jc/drop-gen-hdrs: Makefile: drop GEN_HDRS
2 parents dfee504 + f371984 commit ccc292e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2780,8 +2780,7 @@ $(SP_OBJ): %.sp: %.c GIT-CFLAGS FORCE
27802780
.PHONY: sparse $(SP_OBJ)
27812781
sparse: $(SP_OBJ)
27822782

2783-
GEN_HDRS := command-list.h unicode-width.h
2784-
EXCEPT_HDRS := $(GEN_HDRS) compat/% xdiff/%
2783+
EXCEPT_HDRS := command-list.h unicode-width.h compat/% xdiff/%
27852784
ifndef GCRYPT_SHA256
27862785
EXCEPT_HDRS += sha256/gcrypt.h
27872786
endif
@@ -3106,7 +3105,7 @@ clean: profile-clean coverage-clean cocciclean
31063105
$(RM) $(HCC)
31073106
$(RM) -r bin-wrappers $(dep_dirs)
31083107
$(RM) -r po/build/
3109-
$(RM) *.pyc *.pyo */*.pyc */*.pyo command-list.h $(ETAGS_TARGET) tags cscope*
3108+
$(RM) *.pyc *.pyo */*.pyc */*.pyo $(GENERATED_H) $(ETAGS_TARGET) tags cscope*
31103109
$(RM) -r $(GIT_TARNAME) .doc-tmp-dir
31113110
$(RM) $(GIT_TARNAME).tar.gz git-core_$(GIT_VERSION)-*.tar.gz
31123111
$(RM) $(htmldocs).tar.gz $(manpages).tar.gz

0 commit comments

Comments
 (0)