man-pages/man7/debhelper-obsolete-compat.7.html
2021-03-31 01:06:50 +01:00

177 lines
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of debhelper</TITLE>
</HEAD><BODY>
<H1>debhelper</H1>
Section: Debhelper (7)<BR>Updated: 2020-03-27<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
debhelper-obsolete-compat - List of no longer supported compat levels
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
This document contains the upgrade guidelines from all compat levels
which are no longer supported. Accordingly it is mostly for
historical purposes and to assist people upgrading from a
non-supported compat level to a supported level.
<P>
For upgrades from supported compat levels, please see <B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7).
<A NAME="lbAD">&nbsp;</A>
<H2>UPGRADE LIST FOR COMPAT LEVELS</H2>
The following is the list of now obsolete compat levels and their
changes.
<DL COMPACT>
<DT id="1">v1<DD>
This is the original debhelper compatibility level, and so it is the default
one. In this mode, debhelper will use <I>debian/tmp</I> as the package tree
directory for the first binary package listed in the control file, while using
debian/<I>package</I> for all other packages listed in the <I>control</I> file.
<P>
This mode is deprecated.
<DT id="2">v2<DD>
In this mode, debhelper will consistently use debian/<I>package</I>
as the package tree directory for every package that is built.
<P>
This mode is deprecated.
<DT id="3">v3<DD>
This mode works like v2, with the following additions:
<DL COMPACT><DT id="4"><DD>
<DL COMPACT>
<DT id="5">-<DD>
Debhelper config files support globbing via <B>*</B> and <B>?</B>, when appropriate. To
turn this off and use those characters raw, just prefix with a backslash.
<DT id="6">-<DD>
<B>dh_makeshlibs</B> makes the <I>postinst</I> and <I>postrm</I> scripts call <B>ldconfig</B>.
<DT id="7">-<DD>
Every file in <I>etc/</I> is automatically flagged as a conffile by <B>dh_installdeb</B>.
</DL>
</DL>
<DL COMPACT><DT id="8"><DD>
<P>
This mode is deprecated.
</DL>
<DT id="9">v4<DD>
Changes from v3 are:
<DL COMPACT><DT id="10"><DD>
<DL COMPACT>
<DT id="11">-<DD>
<B>dh_makeshlibs -V</B> will not include the Debian part of the version number in
the generated dependency line in the shlibs file.
<DT id="12">-<DD>
You are encouraged to put the new <B>${misc:Depends}</B> into <I>debian/control</I> to
supplement the <B>${shlibs:Depends}</B> field.
<DT id="13">-<DD>
<B>dh_fixperms</B> will make all files in <I>bin/</I> directories and in <I>etc/init.d</I>
executable.
<DT id="14">-<DD>
<B>dh_link</B> will correct existing links to conform with policy.
</DL>
</DL>
<DL COMPACT><DT id="15"><DD>
<P>
This mode is deprecated.
</DL>
<DT id="16">v5<DD>
This is the lowest supported compatibility level.
<P>
Changes from v4 are:
<DL COMPACT><DT id="17"><DD>
<DL COMPACT>
<DT id="18">-<DD>
Comments are ignored in debhelper config files.
<DT id="19">-<DD>
<B>dh_strip --dbg-package</B> now specifies the name of a package to put debugging
symbols in, not the packages to take the symbols from.
<DT id="20">-<DD>
<B>dh_installdocs</B> skips installing empty files.
<DT id="21">-<DD>
<B>dh_install</B> errors out if wildcards expand to nothing.
</DL>
</DL>
<DL COMPACT><DT id="22"><DD>
</DL>
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></B>(7)
<A NAME="lbAF">&nbsp;</A>
<H2>AUTHORS</H2>
Niels Thykier &lt;<A HREF="mailto:niels@thykier.net">niels@thykier.net</A>&gt;
<P>
Joey Hess
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="23"><A HREF="#lbAB">NAME</A><DD>
<DT id="24"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="25"><A HREF="#lbAD">UPGRADE LIST FOR COMPAT LEVELS</A><DD>
<DT id="26"><A HREF="#lbAE">SEE ALSO</A><DD>
<DT id="27"><A HREF="#lbAF">AUTHORS</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:08 GMT, March 31, 2021
</BODY>
</HTML>