summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-14 06:45:22 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-14 06:45:22 (GMT)
commit4b02c5290e410e6bbb58b507942f722dff9d76a8 (patch)
tree9c90b18b7566e3363dddc106d8b0cf8138375073
parent727d38d75753f646b54ae12715eb5934c6cceb41 (diff)
downloadgit-4b02c5290e410e6bbb58b507942f722dff9d76a8.zip
git-4b02c5290e410e6bbb58b507942f722dff9d76a8.tar.gz
git-4b02c5290e410e6bbb58b507942f722dff9d76a8.tar.bz2
Makefile: update check-docs target
Old aliases are not linked to the main command list. Also the internal git-add--interactive does not need to be on the list. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 40bdcff..dae2919 100644
--- a/Makefile
+++ b/Makefile
@@ -939,11 +939,14 @@ check-docs::
case "$$v" in \
git-merge-octopus | git-merge-ours | git-merge-recursive | \
git-merge-resolve | git-merge-stupid | \
+ git-add--interactive | git-fsck-objects | git-init-db | \
+ git-repo-config | \
git-ssh-pull | git-ssh-push ) continue ;; \
esac ; \
test -f "Documentation/$$v.txt" || \
echo "no doc: $$v"; \
- grep -q "^gitlink:$$v\[[0-9]\]::" Documentation/git.txt || \
+ sed -e '1,/^__DATA__/d' Documentation/cmd-list.perl | \
+ grep -q "^$$v[ ]" || \
case "$$v" in \
git) ;; \
*) echo "no link: $$v";; \