0

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?

  • how about the patch target? – Johannes Aug 26 '13 at 14:50
  • its not the same prob! – zzarkouna Aug 26 '13 at 16:03
  • @JoBo Any doc for patch target? thx – zzarkouna Aug 26 '13 at 16:03
  • 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 :). – zzarkouna Aug 27 '13 at 15:24
4

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 :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.