平衡点


2026/01/15

_ dh_installdocs の便利(?)機能

気がつかなかったんだけれど

If a file named debian/package.docs is not found, … it will look for files with names like README, TODO, BUGS, IMPROVEMENTS, COPYRIGHT, AUTHORS, … and install them into the package documentation directory.

package.docs が見つからない場合, upstream の README とか TODO なんかはインストールするよ!

If the package is named package-doc, … it will install into the documentation directory for package. … This behavior can be overridden with the –doc-main-package option.

foo-doc というパッケージは foo のドキュメントだから, ここにインストールするよ!

これにハマるなど.

gtool5 のパッケージを更新していて, 今回から

  • gtool5: metapackage, libgtool5-dev に依存
  • libgtool5: shared library
  • libgtool5-dev: 開発用
  • gtool5-doc: ドキュメント

としたら, 何故か勝手に gtool5-doc/usr/share/doc/gtool5/README.md.gz が同梱されて, 他のパッケージと衝突する様になってしまい…。

なるほど便利(?)な機能があったんだね, というわけでした.

…便利なのかな, これは…


連絡先など
"
最近の日記
  • 2026/01/15
    • 1. dh_installdocs の便利(?)機能
  • 2026/01/03
    • 1. 2026年になりました.
  • 2025/12/11
    • 1. Beamer で作ったプレゼン資料に読み上げ音声を付ける+α
  • 2025/10/09
    • 1. OpenSSH v10.1p1 からの警告: non-post quantum key agreement algorithm
  • 2025/09/26
    • 1. beamer で 画像を covered にしたい.
一覧
2006|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|02|03|04|08|09|10|11|12|
2013|01|02|03|04|05|06|08|09|10|11|12|
2014|01|02|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|09|10|
2016|02|03|
2017|01|02|03|05|06|07|09|11|12|
2018|03|06|07|10|11|12|
2019|01|02|03|04|05|07|10|12|
2020|01|02|03|04|05|08|09|10|11|12|
2021|01|02|03|05|06|07|08|09|11|12|
2022|01|02|03|04|05|06|08|10|11|12|
2023|02|03|04|06|08|09|11|12|
2024|01|02|03|04|05|06|10|12|
2025|02|03|04|05|06|08|09|10|12|
2026|01|
Back to Top ▲