#!/usr/bin/make -f

%:
	dh $@

# pkg-js-tools exports ${nodejs:Provides} -- the list of all the root
# components, including the tree root itself -- in the substvars of the binary
# package, and debhelper 14 appends such relationship substvars to the matching
# field of the package. The Provides entries are maintained by hand in
# debian/control (one per module, with the exact module version), so drop the
# generated ones to avoid duplicates and bogus names.
override_dh_gencontrol:
	sed -i '/^nodejs:Provides=/d' debian/node-fluent-*.substvars
	dh_gencontrol
