~ubuntu-branches/ubuntu/utopic/debhelper/utopic-proposed

36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
1
#!/usr/bin/perl -w
2
3
=head1 NAME
4
5
dh_auto_configure - automatically configure a package prior to building
6
7
=cut
8
9
use strict;
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
10
use Debian::Debhelper::Dh_Buildsystems;
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
11
12
=head1 SYNOPSIS
13
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
14
B<dh_auto_configure> [S<I<build system options>>] [S<I<debhelper options>>] [S<B<--> I<params>>]
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
15
16
=head1 DESCRIPTION
17
1.4.21 by Joey Hess, Joey Hess, Valery Perrin
[ Joey Hess ]
18
B<dh_auto_configure> is a debhelper program that tries to automatically
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
19
configure a package prior to building. It does so by running the
20
appropriate command for the build system it detects the package uses.
1.4.21 by Joey Hess, Joey Hess, Valery Perrin
[ Joey Hess ]
21
For example, it looks for and runs a F<./configure> script, F<Makefile.PL>,
22
F<Build.PL>, or F<cmake>. A standard set of parameters is determined and passed
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
23
to the program that is run. Some build systems, such as make, do not
1.4.21 by Joey Hess, Joey Hess, Valery Perrin
[ Joey Hess ]
24
need a configure step; for these B<dh_auto_configure> will exit without
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
25
doing anything.
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
26
27
This is intended to work for about 90% of packages. If it doesn't work,
1.4.21 by Joey Hess, Joey Hess, Valery Perrin
[ Joey Hess ]
28
you're encouraged to skip using B<dh_auto_configure> at all, and just run
29
F<./configure> or its equivalent manually.
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
30
31
=head1 OPTIONS
32
1.4.21 by Joey Hess, Joey Hess, Valery Perrin
[ Joey Hess ]
33
See L<debhelper(7)/B<BUILD SYSTEM OPTIONS>> for a list of common build
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
34
system selection and control options.
35
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
36
=over 4
37
38
=item B<--> I<params>
39
1.4.35 by Joey Hess
* dh_fixperms: Operate on .ali files throughout /usr/lib, including
40
Pass I<params> to the program that is run, after the parameters that
41
B<dh_auto_configure> usually passes. For example:
1.2.13 by Joey Hess
* Close COMPAT_IN filehandle. Closes: #527464
42
43
  dh_auto_configure -- --with-foo --enable-bar
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
44
45
=back
46
47
=cut
48
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
49
buildsystems_init();
50
buildsystems_do();
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
51
52
=head1 SEE ALSO
53
54
L<debhelper(7)>
55
56
This program is a part of debhelper.
57
58
=head1 AUTHOR
59
60
Joey Hess <joeyh@debian.org>
61
62
=cut