DOKK / manpages / debian 12 / dh-nodejs / dh_nodejs_autodocs.1p.en
DH_NODEJS_AUTODOCS(1p) User Contributed Perl Documentation DH_NODEJS_AUTODOCS(1p)

dh_nodejs_autodocs - automatically install components doc files

  override_dh_installdocs:
      dh_installdocs
      dh_nodejs_autodocs

For multiple binary packages:

  override_dh_installdocs:
      dh_installdocs
      dh_nodejs_autodocs node-foo

Or best:

  override_dh_installdocs:
      dh_installdocs
      dh_nodejs_autodocs auto_dispatch

dh_nodejs_autodocs automatically install README.md, CONTRIBUTING.md,... for each root component in its "/usr/share/doc/node-name" directory.

If no "debian/*docs" is found, it does the same for the main component.

  • If no argument is given, dh_nodejs_autodocs installs the whole auto-selected documentation in the binary package which name starts with "node-". If none exists or if there is more than one, it fails.
  • If dh_nodejs_autodocs is launched with auto_dispatch, it dispatches auto-selected doc in related binary packages.
  • If dh_nodejs_autodocs is launched with a binary package name, it installs the whole auto-selected doc in it.

Copyright Yadd <yadd@debian.org>

Licensed under GPL-2+ (see /usr/share/common-licenses/GPL-2)

2022-12-17 perl v5.36.0