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