/usr/bin/dh_autotools-dev_updateconfig is in autotools-dev 20150820.1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | #!/usr/bin/perl -w
=head1 NAME
dh_autotools-dev_updateconfig - update B<config.sub> and B<config.guess>
=cut
use strict;
use Debian::Debhelper::Dh_Lib;
=head1 SYNOPSIS
B<dh_autotools-dev_updateconfig> [S<I<debhelper options>>]
=head1 DESCRIPTION
dh_autotools-dev_updateconfig replaces all occurances of B<config.sub> and B<config.guess>
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> and
B<config.guess.dh-orig>.
=head1 EXAMPLES
dh_autotools-dev_updateconfig is usually called indirectly in a rules file via the
dh command.
%:
dh $@ --with autotools_dev
It can also be direcly called at the start of the build (or configure)
rule.
build:
dh_autotools-dev_updateconfig
./configure
$(MAKE)
=cut
init();
complex_doit('for c_g in `find -type f -name config.guess` ; do if ! test -e "$c_g.dh-orig" ; then mv -f "$c_g" "$c_g.dh-orig" ; cp -f /usr/share/misc/config.guess "$c_g" ; fi ; done');
complex_doit('for c_s in `find -type f -name config.sub` ; do if ! test -e "$c_s.dh-orig" ; then mv -f "$c_s" "$c_s.dh-orig" ; cp -f /usr/share/misc/config.sub "$c_s" ; fi ; done');
=head1 SEE ALSO
L<debhelper(7)>, L<dh(1)>.
This program is meant to be used together with debhelper.
=head1 AUTHOR
Fabian Greffrath <fabian+debian@greffrath.com>
=cut
|