Fix dependency of common-cmds.h
Say $(wildcard ...) when we mean it. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Apr 5, 2007 at 15:03 UTC
766b084f59c97bc8b096a59cd5c8d06df5aa2bc5
1 file changed
+1
-1
Makefile
+1
-1
@@ -684,7 +684,7 @@ help.o: common-cmds.h
684
$(BUILT_INS): git$X
685
$(QUIET_BUILT_IN)rm -f $@ && ln git$X $@
686
687
-common-cmds.h: Documentation/git-*.txt
687
+common-cmds.h: $(wildcard Documentation/git-*.txt)
688
$(QUIET_GEN)./generate-cmdlist.sh > $@+ && mv $@+ $@
689
690
$(patsubst %.sh,%,$(SCRIPT_SH)) : % : %.sh