だるろぐ

だるいぶろぐです

gitにman / helpが無いので入れる

yumaptitudeで入れた場合は知らんが、ソースからgitを入れた場合はman / helpが付いてこないので自力で入れる。
最初から入れといてくれ。


入れ方はソースの中のINSTALLに書いてある。

% wget http://kernel.org/pub/software/scm/git/git-1.7.3.1.tar.bz2
% tar xfj git-1.7.3.1.tar.bz2
% less git-1.7.3.1/INSTALL


めんどいのでシェルスクリプトで。

#!/bin/sh

mkdir manual && cd manual
git init
git fetch-pack git://git.kernel.org/pub/scm/git/git.git man html |
while read a b
do
  echo $a >.git/$b
done
cp .git/refs/heads/man .git/refs/heads/master
git checkout
% ./make_git_help.sh
% sudo cp -r manual/* /usr/local/share/man/