I want to add a new target rule in debian/rules
and I want it to be executed before dpkg-source --before-build
.
This new target will generate a control file from a template file. How can I do that?
I want to add a new target rule in debian/rules
and I want it to be executed before dpkg-source --before-build
.
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 :)