dpkg-distaddfile(1) dpkg suite dpkg-distaddfile(1)

# [NAME](#NAME)

dpkg-distaddfile - add entries to debian/files

# [SYNOPSIS](#SYNOPSIS)

**dpkg-distaddfile** \[*option*...] *filename section priority*

# [DESCRIPTION](#DESCRIPTION)

**dpkg-distaddfile** adds an entry for a named file to **debian/files**.

It takes three non-option arguments, the filename and the section and priority for the **.changes** file.

The filename should be specified relative to the directory where **dpkg-genchanges** will expect to find the files, usually **..**, rather than being a pathname relative to the current directory when **dpkg-distaddfile** is run.

# [OPTIONS](#OPTIONS)

[**-ffiles-list-file**](#f)

Read or write the list of files to be uploaded here, rather than using **debian/files**.

**-?**, **--help**

Show the usage message and exit.

[**--version**](#version)

Show the version and exit.

# [ENVIRONMENT](#ENVIRONMENT)

[**DPKG\_COLORS**](#DPKG_COLORS)

Sets the color mode. The currently accepted values are: **auto** (default), **always** and **never**.

Supported since dpkg 1.18.5.

[**DPKG\_NLS**](#DPKG_NLS)

If set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support. The accepted values are: **0** and **1** (default).

Supported since dpkg 1.19.0.

# [FILES](#FILES)

[**debian/files**](#debian/files)

The list of generated files which are part of the upload being prepared. **dpkg-distaddfile** can be used to add additional files.

# [SEE ALSO](#SEE_ALSO)

[**deb-src-files**(5)](/man/os/dpkg/deb-src-files.5).

2026-09-09 1.23.11-dirty

---

Document: dpkg-distaddfile(1) from dpkg 1.23.11-r1 (Chainguard OS)
Source: https://git.dpkg.org/git/dpkg/dpkg.git
