# man > dpkg-distaddfile(1)

yaml
---
type: CommandReference
command: dpkg-distaddfile
mode: man
section: 1
source: man-pages
---

## Quick Reference

- `dpkg-distaddfile filename section priority` — add an entry to `debian/files`
- `dpkg-distaddfile -f <file> filename section priority` — use a custom file list instead of `debian/files`

## Name

`dpkg-distaddfile` — add entries to `debian/files`

## Synopsis

`dpkg-distaddfile` [_option_...] _filename_ _section_ _priority_

## Options

- `-f` — read or write the list of files to be uploaded here, rather than using `debian/files`
- `-?, --help` — show usage message and exit
- `--version` — show version and exit

## Environment

- `DPKG_COLORS` — sets the color mode (since dpkg 1.18.5). Accepted values: `auto` (default), `always`, `never`
- `DPKG_NLS` — decides whether to activate Native Language Support (i18n) (since dpkg 1.19.0). Accepted values: `0`, `1` (default)

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

[deb-src-files(5)](https://www.chedong.com/phpMan.php/man/deb-src-files/5/markdown)
