---
name: "cdd-gen-control"
section: "1"
platform: "linux"
package: "cdd-dev"
version: "0.3.11.1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/cdd-gen-control"
---

# cdd-gen-control(1)

generate debian/control file from tasks directory

## NAME

**cdd-gen-control** - generate debian/control file from tasks directory

## SYNOPSIS

**cdd-gen-control** \[ **options** \] \[ **project** \]

## DESCRIPTION

The script **cdd-gen-control** parses the *tasks* directory for text files which have a similar syntax to *debian/control* files.  Each text file is used as template for a *\<cdd\>-\<textfile\_name\>* meta package and has to define the dependencies. In addition there is a further tag named **Task** which is mandatory and is used later as registry of all tasks in */usr/share/cdd/tasks/\<cdd\> .*

## OPTIONS

- **-c**

  Create debian/control file using template debian/control.stub.

- **-d**

  Turn on debugging mode.

- **-a**

  Print all available packages.

- **-e**

  Print excluded packages.

- **-m**

  Print missing packages.

- **-s \<dist\>**

  Without the **-s** option /etc/cdd/sources.list is used to verify which packages are available. You can specify one of *stable* , *testing* or *unstable* as argument or a complete path to a valid sources.list file.

## AUTHORS

Petter Reinholdtsen \<pere@hungry.com\> Andreas Tille \<tille@debian.org\>
