magit v4のel-getでエラー
magitのel-getは以下のように設定している.
~/.emacs.d/init.el
(el-get-bundle magit)
しかしmagitのv4系から, 以下のようなエラーが出るようになった.
Generating magit.html
Generating magit-section.html
Generating magit/*.html
Generating magit-section/*.html
Generating magit.pdf
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one. If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do). See the --help
output for more details.
For information about obtaining TeX, please see http://tug.org/texlive,
or do a web search for TeX and your operating system or distro.
make[1]: *** [magit.pdf] Error 1
make: *** [docs] Error 2
PDFの生成時にTeXがなくてエラーとなったようである.
対処方法
そもそもPDFの生成が不要.
そのためmake
のデフォルトターゲットからdocs
を除外して, ターゲットはlisp
やtexi
, info
あたりまでを指定するように:build
オプションで上書きする.
~/.emacs.d/init.el
(el-get-bundle magit
:build '(("make" "clean" "lisp" "texi" "info"))
)