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>
Junio C Hamano committed
Feb 13, 2007 at 22:45 UTC
4b02c5290e410e6bbb58b507942f722dff9d76a8
1 file changed
+4
-1
Makefile
+4
-1
@@ -939,11 +939,14 @@ check-docs::
939
case "$$v" in \
940
git-merge-octopus | git-merge-ours | git-merge-recursive | \
941
git-merge-resolve | git-merge-stupid | \
942
+ git-add--interactive | git-fsck-objects | git-init-db | \
943
+ git-repo-config | \
944
git-ssh-pull | git-ssh-push ) continue ;; \
945
esac ; \
946
test -f "Documentation/$$v.txt" || \
947
echo "no doc: $$v"; \
946
- grep -q "^gitlink:$$v\[[0-9]\]::" Documentation/git.txt || \
948
+ sed -e '1,/^__DATA__/d' Documentation/cmd-list.perl | \
949
+ grep -q "^$$v[ ]" || \
950
case "$$v" in \
951
git) ;; \
952
*) echo "no link: $$v";; \