平衡点


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/02/21
    • 1. act を podman で動かす
  • 2026/02/19
    • 1. WinApps を docker 上の Windows から libvirt に変えた
  • 2026/02/18
    • 1. AUCTeX と latexmk の連携(2026年版)
  • 2026/02/16
    • 1. corfu の設定を見直す (2026年版)
  • 2026/02/14
    • 1. Windows11, macOS, Linux (Wayland) での clipboard 共有
一覧
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|02|
Back to Top ▲