summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-05 22:03:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-05 22:03:48 (GMT)
commit766b084f59c97bc8b096a59cd5c8d06df5aa2bc5 (patch)
tree82c7ff526fc7e1852ce31ca7d052332093e401fd
parent01ebb9dc8846af729c13d5d8c9d939a6d1159240 (diff)
downloadgit-766b084f59c97bc8b096a59cd5c8d06df5aa2bc5.zip
git-766b084f59c97bc8b096a59cd5c8d06df5aa2bc5.tar.gz
git-766b084f59c97bc8b096a59cd5c8d06df5aa2bc5.tar.bz2
Fix dependency of common-cmds.h
Say $(wildcard ...) when we mean it. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b159ffd..81dafe5 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