From: Junio C Hamano Date: Thu, 5 Apr 2007 22:03:48 +0000 (-0700) Subject: Fix dependency of common-cmds.h X-Git-Tag: v1.5.1.1~28 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=766b084f59c97bc8b096a59cd5c8d06df5aa2bc5;p=git.git Fix dependency of common-cmds.h Say $(wildcard ...) when we mean it. Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index b159ffd0a..81dafe5ee 100644 --- a/Makefile +++ b/Makefile @@ -684,7 +684,7 @@ help.o: common-cmds.h $(BUILT_INS): git$X $(QUIET_BUILT_IN)rm -f $@ && ln git$X $@ -common-cmds.h: Documentation/git-*.txt +common-cmds.h: $(wildcard Documentation/git-*.txt) $(QUIET_GEN)./generate-cmdlist.sh > $@+ && mv $@+ $@ $(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh