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.

I want to create a specific Debian control file from a template file.

So in rules file i put this option to specify my new control file:

dh_gencontrol -- "-cdebian/control_new"

This file contains all information about binary to build! But I have always get this error:

dh_gencontrol -- "-cdebian/control_new"
dh_gencontrol: No packages to build.

Because it checks debian/control.

$ cat control_new
Source: xxx-xxx
Section: bb/web
Priority: optional
Maintainer: joujou joujou <joujou.joujou@gmail.com>
Standards-Version: 3.8.2
Package: do-xxx-xxx
Architecture: all
Description: my description

$ cat control
Source: xxx-xxx
Section: bb/web
Priority: optional
Maintainer: joujou joujou <joujou.joujou@gmail.com>
Standards-Version: 3.8.2

What should I do?

share|improve this question
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.