0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

yocto のリファレンスマニュアルをコンパイルして pdf 版を手に入れる

Posted at

yocto のリファレンスマニュアルをコンパイルして pdf 版を手に入れる

背景

yocto pdf manual というようなキーワードで検索しても古いバージョンしか見つからないので、
新しいバージョンの pdf を取得するために必要なビルド手順調べた。
https://www.google.com/search?q=yocto+pdf+manual&oq=yocto+pdf+manual

動作確認環境

ubuntu20.04 上と docker 上の ubuntu18.04 と GitHub Actions 上で確認した。

関連サイト

ビルド方法

以下ページでビルド方法の説明が書いてある。
https://git.yoctoproject.org/cgit.cgi/poky/tree/documentation/README?h=zeus

docker や GitHub Actions など 実際に試したデータ

https://github.com/m-tmatma/yocto-manual
にデータを置いている。

準備作業

sudo apt-get update
sudo apt-get install -y git-core \
    make xsltproc fop \
    python3 python3-dev python3-pip python3-setuptools python3-sphinx python3-yaml python3-sphinx-rtd-theme

ソース取得

以下の例では zeus

git clone -b zeus git://git.yoctoproject.org/poky

以下でも OK

git clone -b zeus https://git.yoctoproject.org/git/poky

ビルド

以下コマンドでビルドする

cd poky/documentation
make pdf DOC=ref-manual

poky/documentation/ref-manual/ref-manual.pdf に PDF ファイルが作成される。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?