@@ -757,7 +757,7 @@ LIB_FILE = libgit.a
757
757
XDIFF_LIB = xdiff/lib.a
758
758
VCSSVN_LIB = vcs-svn/lib.a
759
759
760
- GENERATED_H += common-cmds.h command-list.h
760
+ GENERATED_H += command-list.h
761
761
762
762
LIB_H = $(shell $(FIND ) . \
763
763
-name .git -prune -o \
@@ -1914,9 +1914,9 @@ git$X: git.o GIT-LDFLAGS $(BUILTIN_OBJS) $(GITLIBS)
1914
1914
$(QUIET_LINK )$(CC ) $(ALL_CFLAGS ) -o $@ $(ALL_LDFLAGS ) \
1915
1915
$(filter % .o,$^ ) $(LIBS )
1916
1916
1917
- help.sp help.s help.o : common-cmds.h command-list.h
1917
+ help.sp help.s help.o : command-list.h
1918
1918
1919
- builtin/help.sp builtin/help.s builtin/help.o : common-cmds.h command-list.h GIT-PREFIX
1919
+ builtin/help.sp builtin/help.s builtin/help.o : command-list.h GIT-PREFIX
1920
1920
builtin/help.sp builtin/help.s builtin/help.o : EXTRA_CPPFLAGS = \
1921
1921
' -DGIT_HTML_PATH="$(htmldir_relative_SQ)"' \
1922
1922
' -DGIT_MAN_PATH="$(mandir_relative_SQ)"' \
@@ -1935,11 +1935,6 @@ $(BUILT_INS): git$X
1935
1935
ln -s $< $@ 2> /dev/null || \
1936
1936
cp $< $@
1937
1937
1938
- common-cmds.h : generate-cmdlist.sh command-list.txt
1939
-
1940
- common-cmds.h : $(wildcard Documentation/git-* .txt)
1941
- $(QUIET_GEN )$(SHELL_PATH ) ./generate-cmdlist.sh command-list.txt COMMON > $@ + && mv $@ + $@
1942
-
1943
1938
command-list.h : generate-cmdlist.sh command-list.txt
1944
1939
1945
1940
command-list.h : $(wildcard Documentation/git-* .txt)
@@ -2153,7 +2148,7 @@ else
2153
2148
# Dependencies on header files, for platforms that do not support
2154
2149
# the gcc -MMD option.
2155
2150
#
2156
- # Dependencies on automatically generated headers such as common-cmds.h or command-list.h
2151
+ # Dependencies on automatically generated headers such as command-list.h
2157
2152
# should _not_ be included here, since they are necessary even when
2158
2153
# building an object for the first time.
2159
2154
@@ -2532,7 +2527,7 @@ sparse: $(SP_OBJ)
2532
2527
style :
2533
2528
git clang-format --style file --diff --extensions c,h
2534
2529
2535
- check : common-cmds.h command-list.h
2530
+ check : command-list.h
2536
2531
@if sparse; \
2537
2532
then \
2538
2533
echo >&2 " Use 'make sparse' instead" ; \
@@ -2780,7 +2775,7 @@ clean: profile-clean coverage-clean
2780
2775
$(RM ) $(TEST_PROGRAMS ) $(NO_INSTALL )
2781
2776
$(RM ) -r bin-wrappers $(dep_dirs )
2782
2777
$(RM ) -r po/build/
2783
- $(RM ) * .pyc * .pyo * /* .pyc * /* .pyo common-cmds.h command-list.h $(ETAGS_TARGET ) tags cscope*
2778
+ $(RM ) * .pyc * .pyo * /* .pyc * /* .pyo command-list.h $(ETAGS_TARGET ) tags cscope*
2784
2779
$(RM ) -r $(GIT_TARNAME ) .doc-tmp-dir
2785
2780
$(RM ) $(GIT_TARNAME ) .tar.gz git-core_$(GIT_VERSION ) -* .tar.gz
2786
2781
$(RM ) $(htmldocs ) .tar.gz $(manpages ) .tar.gz
0 commit comments