Our build server builds ubuntu packages (*.deb) via
dpkg-buildpackage. The server checks out the source code via git and runs the build via
make <target>. The source directory contains the
debian/ subdirectory where the dpkg configuration files are.
I would like to add the internal build counter number to the current package version and further set the package file name but
dpkg-buildpackage does not let me control how the resulting
package_version_arch.deb looks like. How can I achieve this?