1debhelper(7) Debhelper debhelper(7)
2
3
4
6 debhelper-obsolete-compat - List of no longer supported compat levels
7
9 This document contains the upgrade guidelines from all compat levels
10 which are no longer supported. Accordingly it is mostly for historical
11 purposes and to assist people upgrading from a non-supported compat
12 level to a supported level.
13
14 For upgrades from supported compat levels, please see debhelper(7).
15
17 The following is the list of now obsolete compat levels and their
18 changes.
19
20 v1 This is the original debhelper compatibility level, and so it is
21 the default one. In this mode, debhelper will use debian/tmp as the
22 package tree directory for the first binary package listed in the
23 control file, while using debian/package for all other packages
24 listed in the control file.
25
26 This mode is deprecated.
27
28 v2 In this mode, debhelper will consistently use debian/package as the
29 package tree directory for every package that is built.
30
31 This mode is deprecated.
32
33 v3 This mode works like v2, with the following additions:
34
35 - Debhelper config files support globbing via * and ?, when
36 appropriate. To turn this off and use those characters raw,
37 just prefix with a backslash.
38
39 - dh_makeshlibs makes the postinst and postrm scripts call
40 ldconfig.
41
42 - Every file in etc/ is automatically flagged as a conffile
43 by dh_installdeb.
44
45 This mode is deprecated.
46
47 v4 Changes from v3 are:
48
49 - dh_makeshlibs -V will not include the Debian part of the
50 version number in the generated dependency line in the
51 shlibs file.
52
53 - You are encouraged to put the new ${misc:Depends} into
54 debian/control to supplement the ${shlibs:Depends} field.
55
56 - dh_fixperms will make all files in bin/ directories and in
57 etc/init.d executable.
58
59 - dh_link will correct existing links to conform with policy.
60
61 This mode is deprecated.
62
63 v5 Changes from v4 are:
64
65 - Comments are ignored in debhelper config files.
66
67 - dh_strip --dbg-package now specifies the name of a package
68 to put debugging symbols in, not the packages to take the
69 symbols from.
70
71 - dh_installdocs skips installing empty files.
72
73 - dh_install errors out if wildcards expand to nothing.
74
75 v6 Changes from v5 are:
76
77 - Commands that generate maintainer script fragments will
78 order the fragments in reverse order for the prerm and
79 postrm scripts.
80
81 - dh_installwm will install a slave manpage link for
82 x-window-manager.1.gz, if it sees the man page in
83 usr/share/man/man1 in the package build directory.
84
85 - dh_builddeb did not previously delete everything matching
86 DH_ALWAYS_EXCLUDE, if it was set to a list of things to
87 exclude, such as CVS:.svn:.git. Now it does.
88
89 - dh_installman allows overwriting existing man pages in the
90 package build directory. In previous compatibility levels
91 it silently refuses to do this.
92
93 This mode is deprecated.
94
95 v7 This is the lowest supported compatibility level.
96
97 Changes from v6 are:
98
99 - dh_install, will fall back to looking for files in
100 debian/tmp if it doesn't find them in the current directory
101 (or wherever you tell it look using --sourcedir). This
102 allows dh_install to interoperate with dh_auto_install,
103 which installs to debian/tmp, without needing any special
104 parameters.
105
106 - dh_clean will read debian/clean and delete files listed
107 there.
108
109 - dh_clean will delete toplevel *-stamp files.
110
111 - dh_installchangelogs will guess at what file is the
112 upstream changelog if none is specified.
113
115 debhelper(7)
116
118 Niels Thykier <niels@thykier.net>
119
120 Joey Hess
121
122
123
12413.7.1 2022-04-22 debhelper(7)