Build deb Package locally?

I’m trying to resolve some issues with bindings and Jetty configuration, and am able to successfully build the openhab-distro targets with the install target.

How can I generate the deb package so that I can use the Debian package tools to cleanly deploy this?

While I could extract distributions/openhab/target/openhab-2.1.0-SNAPSHOT.tar.gz and write scripts to remove the previous version’s files without disturbing the configuration and state files, then move the new files into place, I’d prefer to spend my time fixing problems rather than reinventing the wheel.