dh_ucf(1) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | FILES | OPTIONS | NOTES | SEE ALSO | AUTHOR | COLOPHON

DH_UCF(1)                       Debhelper                      DH_UCF(1)

NAME         top

       dh_ucf - register configuration files with ucf

SYNOPSIS         top

       dh_ucf [debhelper options] [-A] [-n] [file ...]

DESCRIPTION         top

       dh_ucf is a debhelper program that is responsible for generating
       the postinst and postrm commands that register files with ucf(1)
       and ucfr(1).

FILES         top

       debian/package.ucf
           List pairs of source and destination files to register with
           ucf. Each pair should be put on its own line, with the source
           and destination separated by whitespace. Both source and
           destination must be absolute paths. The source should be a
           file that is provided by your package, typically in
           /usr/share/, while the destination is typically a file in
           /etc/.

           A dependency on ucf will be generated in ${misc:Depends}.

           Supports substitution variables in compat 13 and later as
           documented in debhelper(7).

OPTIONS         top

       -A, --all
           Install all files specified by command line parameters in ALL
           packages acted on.

       -n, --no-scripts
           Do not modify postinst/postrm scripts. Turns this command
           into a no-op.

       file ...
           Install these info files into the first package acted on. (Or
           in all packages if -A is specified).

NOTES         top

       Note that this command is not idempotent. dh_prep(1) should be
       called between invocations of this command. Otherwise, it may
       cause multiple instances of the same text to be added to
       maintainer scripts.

SEE ALSO         top

       debhelper(7)

       This program is a part of debhelper.

AUTHOR         top

       Joey Hess <[email protected]> Jeroen Schot <[email protected]>

COLOPHON         top

       This page is part of the debhelper (helper programs for
       debian/rules) project.  Information about the project can be
       found at [unknown -- if you know, please contact man-
       [email protected]] If you have a bug report for this manual page,
       send it to [email protected].  This page was obtained from
       the project's upstream Git repository
       ⟨https://salsa.debian.org/debian/debhelper.git⟩ on 2023-12-22.
       (At that time, the date of the most recent commit that was found
       in the repository was 2023-12-19.)  If you discover any rendering
       problems in this HTML version of the page, or you believe there
       is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to
       [email protected]

13.11.7                        2023-09-12                      DH_UCF(1)

Pages that refer to this page: debhelper(7)