debianrules
In Debian packaging, debian/rules refers to the build script that governs how a source package is built. It is a Makefile located in the debian directory of the upstream source tree and is invoked by packaging tools such as dpkg-buildpackage or debuild to produce binary packages.
The primary purpose of debian/rules is to orchestrate the sequence of steps used to configure, build, install,
Structure and style vary, but most rules files follow two broad approaches. The simple approach uses debhelper
Relations and usage: debian/rules interacts with other packaging metadata in the debian directory, such as debian/control