Makefile: common-cmds.h depends on generate-cmdlist.sh script

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 2007-06-13 02:00:01 -07:00
parent 90ac368afd
commit 48dd1da8e1
1 changed files with 2 additions and 0 deletions

View File

@ -748,6 +748,8 @@ git-merge-subtree$X: git-merge-recursive$X
$(BUILT_INS): git$X $(BUILT_INS): git$X
$(QUIET_BUILT_IN)rm -f $@ && ln git$X $@ $(QUIET_BUILT_IN)rm -f $@ && ln git$X $@


common-cmds.h: ./generate-cmdlist.sh

common-cmds.h: $(wildcard Documentation/git-*.txt) common-cmds.h: $(wildcard Documentation/git-*.txt)
$(QUIET_GEN)./generate-cmdlist.sh > $@+ && mv $@+ $@ $(QUIET_GEN)./generate-cmdlist.sh > $@+ && mv $@+ $@