[Pkg-javascript-devel] Bug#933540: Bug#933540: pkg-js-tools auto install does not work with multiple binary packages

Xavier yadd at debian.org
Wed Jul 31 19:15:21 BST 2019


Le 31/07/2019 à 13:52, Pirate Praveen a écrit :
> Package: pkg-js-tools
> Version: 0.8.6
> Severity: wishlist
> 
> I was trying to pkg-js-tools auto install option with
> node-fuzzaldrin-plus but it did not work as it had libjs-fuzzaldrin-plus
> also as a binary package. The files got copied to debian/tmp and the
> final deb file did not these files.
> 
> I think you are already aware about this, but just adding here for the
> record.

This is how dh_auto_install works: when there is more than 1 package, it
installs files in debian/tmp, then dh_install picks these files from
debian/tmp to store into debian/<package> (one arg per line) or in
source directory (two args per line). In this case, you can use a
debian/node-foo.install like this:

  # debian/node-arch-indep.install
  usr/share/nodejs/foo/

  # debian/node-arch-dep.install
  usr/lib/*/nodejs/foo/

  # debian/libjs.install
  dist/* usr/share/javascript/foo/

You can see an example in node-clean-css (not published but ready for
pkg-js-tools >= 0.8.7).

Other tip for dh_links with a arch-dep package:

  # debian/node.foo.links
  usr/lib/*/nodejs/foo/bin/cli.js  usr/bin/foo



More information about the Pkg-javascript-devel mailing list