Scroll to navigation

DH_NODEJS_AUTODOCS(1p) User Contributed Perl Documentation DH_NODEJS_AUTODOCS(1p)

NAME

dh_nodejs_autodocs - automatically install components doc files

SYNOPSIS

  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

DESCRIPTION

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.

Multiple binary package

  • 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 AND LICENSE

Copyright Yadd <yadd@debian.org>

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

2024-08-05 perl v5.38.2