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.lorimer.id.au/gitweb.git/diff_plain/766b084f59c97bc8b096a59cd5c8d06df5aa2bc5?hp=--cc Fix dependency of common-cmds.h Say $(wildcard ...) when we mean it. Signed-off-by: Junio C Hamano --- 766b084f59c97bc8b096a59cd5c8d06df5aa2bc5 diff --git a/Makefile b/Makefile index b159ffd0ae..81dafe5ee3 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