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?

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

1 Answer 1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .