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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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