File: 23-control.txt

package info (click to toggle)
debmake-doc 1.22-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 12,952 kB
  • sloc: makefile: 916; sh: 692; python: 202; ansic: 114; sed: 16
file content (14 lines) | stat: -rw-r--r-- 792 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// vim:set filetype=asciidoc:
[[control]]
=== *debian/control* file

The *debian/control* file consists of blocks of metadata separated by blank lines. Each block of metadata defines the following, in this order:

* meta data for the Debian source package
* meta data for the Debian binary packages

See "`https://www.debian.org/doc/debian-policy/ch-controlfields.html[Chapter 5 - Control files and their fields]`" of the "Debian Policy Manual" for the definition of each metadata field.

NOTE: The *debmake* command sets the *debian/control* file with "`*Build-Depends: debhelper-compat (= @@@dhcompat@@@)*`" to set the *debhelper* compatibility level.

TIP: If an existing package has a *debhelper* compatibility level lower than @@@dhcompat@@@, it's probably time to update its packaging.