man-pages/man1/dh_autotools-dev_updateconfig.1.html
2021-03-31 01:06:50 +01:00

110 lines
2.6 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of DH_AUTOTOOLS-DEV_UPDATECONFIG</TITLE>
</HEAD><BODY>
<H1>DH_AUTOTOOLS-DEV_UPDATECONFIG</H1>
Section: Debhelper (1)<BR>Updated: 2018-02-24<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>
dh_autotools-dev_updateconfig - update config.sub and config.guess
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>dh_autotools-dev_updateconfig</B> [<I>debhelper&nbsp;options</I>]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>Deprecated</B>: dh_autotools-dev_updateconfig and
dh_autotools-dev_restoreconfig are deprecated and replaced by
<I><A HREF="/cgi-bin/man/man2html?1+dh_update_autotools_config">dh_update_autotools_config</A></I>(1) and <I><A HREF="/cgi-bin/man/man2html?1+dh_clean">dh_clean</A></I>(1) from debhelper.
Please replace all uses of dh_autotools-dev_updateconfig with
dh_update_autotools_config and then remove any use of
dh_autotools-dev_restoreconfig.
<P>
dh_autotools-dev_updateconfig replaces all occurances of <B>config.sub</B> and <B>config.guess</B>
in the source tree by the up-to-date versions found in the autotools-dev package.
The original files are backed up under the names <B>config.sub.dh-orig</B> and
<B>config.guess.dh-orig</B>.
<A NAME="lbAE">&nbsp;</A>
<H2>EXAMPLES</H2>
dh_autotools-dev_updateconfig is usually called indirectly in a rules file via the
dh command.
<P>
<PRE>
%:
dh $@ --with autotools_dev
</PRE>
<P>
It can also be direcly called at the start of the build (or configure)
rule.
<P>
<PRE>
build:
dh_autotools-dev_updateconfig
./configure
$(MAKE)
</PRE>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<I><A HREF="/cgi-bin/man/man2html?7+debhelper">debhelper</A></I>(7), <I><A HREF="/cgi-bin/man/man2html?1+dh">dh</A></I>(1).
<P>
This program is meant to be used together with debhelper.
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
Fabian Greffrath &lt;<A HREF="mailto:fabian+debian@greffrath.com">fabian+debian@greffrath.com</A>&gt;
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">EXAMPLES</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="6"><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:10 GMT, March 31, 2021
</BODY>
</HTML>