From: Junio C Hamano Date: Wed, 14 Feb 2007 06:45:22 +0000 (-0800) Subject: Makefile: update check-docs target X-Git-Tag: v1.5.0.1~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4b02c5290e410e6bbb58b507942f722dff9d76a8;p=git.git 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 --- diff --git a/Makefile b/Makefile index 40bdcff69..dae291996 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";; \