1DH_INSTALLTMPFILES(1) Debhelper DH_INSTALLTMPFILES(1)
2
3
4
6 dh_installtmpfiles - install tmpfiles.d configuration files
7
9 dh_installtmpfiles [debhelper options][--name=name]
10
12 dh_installtmpfiles is a debhelper program that is responsible for
13 installing package maintainer supplied tmpfiles.d configuration files
14 (e.g. for systemd-tmpfiles).
15
16 It also finds the tmpfiles.d configuration files installed by a package
17 and generates postinst code blocks for activating the tmpfiles.d
18 configuration when the package is installed. These snippets are added
19 to the maintainer scripts by dh_installdeb(1).
20
22 --name=name
23 This option controls both a prefix used for lookng up maintainer
24 provided tmpfiles.d configuration files (those mentioned in the
25 "FILES" section) and also the base name used for the installed
26 version of the file.
27
29 debian/package.tmpfiles
30 If this exists, it is installed into usr/lib/tmpfiles.d/ in the
31 package build directory. Note that the "tmpfiles.d" mechanism is
32 currently only used by systemd.
33
34 debian/package.tmpfile
35 Deprecated name for debian/package.tmpfiles.
36
38 This command is not idempotent. dh_prep(1) should be called between
39 invocations of this command (with the same arguments). Otherwise, it
40 may cause multiple instances of the same text to be added to maintainer
41 scripts.
42
44 debhelper(7)
45
46
47
4813.11.6 2023-09-02 DH_INSTALLTMPFILES(1)