Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question is an exact duplicate of:

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?

share|improve this question

marked as duplicate by Andrea Corbellini, Mitch, Raja, Thomas W., RolandiXor Sep 2 '13 at 17:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

1 Answer 1

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

share|improve this answer

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