I want to add a new target rule in
debian/rules and I want it to be executed before
This new target will generate a control file from a template file. How can I do that?
The OP solved the problem and reported the solution in a comment:
I resolved the prob by adding a DEBUILD_DPKG_BUILDPACKAGE_HOOK var in /etc/devscripts.conf. I have just to specify path to my hook. And everything is OK :)