aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-05 15:03:48 -0700
committerJunio C Hamano <junkio@cox.net>2007-04-05 15:03:48 -0700
commit766b084f59c97bc8b096a59cd5c8d06df5aa2bc5 (patch)
tree82c7ff526fc7e1852ce31ca7d052332093e401fd /Makefile
parent01ebb9dc8846af729c13d5d8c9d939a6d1159240 (diff)
downloadgit-766b084f59c97bc8b096a59cd5c8d06df5aa2bc5.tar.gz
git-766b084f59c97bc8b096a59cd5c8d06df5aa2bc5.tar.xz
Fix dependency of common-cmds.h
Say $(wildcard ...) when we mean it. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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