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

dh_nodejs_substvars - automatically calculates ${package::Version} substitution variable

Use result in "debian/control":

  Source: node-jest
  Build-Depends: debhelper-compat (= 13)
   , dh-sequence-nodejs (>= 0.14.5~)
  
  Package: jest
  Provides: ${jest:Provides}
  
  Package: node-jest-debbundle
  Provides: ${nodeJestDebbundle:Version}

dh-sequence-nodejs automatically adds dh_nodejs_substvars after dh_install step when source package provides several binary packages.

This tools dispatches "${nodejs:Provides}" values in the good package, looking at real content.

dh-sequence-nodejs(1), debhelper(7)

Copyright Yadd <yadd@debian.org>

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

2022-12-17 perl v5.36.0