~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_build - automatically builds a package
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_build> [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_build> is a debhelper program that tries to automatically build a
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
19
package. It does so by running the appropriate command for the build system
1.4.21 by Joey Hess, Joey Hess, Valery Perrin
[ Joey Hess ]
20
it detects the package uses. For example, if a F<Makefile> is found, this is
21
done by running B<make> (or B<MAKE>, if the environment variable is set). If
22
there's a F<setup.py>, or F<Build.PL>, it is run to build the package.
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
23
24
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 ]
25
you're encouraged to skip using B<dh_auto_build> at all, and just run the
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
26
build process manually.
27
28
=head1 OPTIONS
29
1.4.21 by Joey Hess, Joey Hess, Valery Perrin
[ Joey Hess ]
30
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
31
system selection and control options.
32
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
33
=over 4
34
35
=item B<--> I<params>
36
1.4.35 by Joey Hess
* dh_fixperms: Operate on .ali files throughout /usr/lib, including
37
Pass I<params> to the program that is run, after the parameters that
38
B<dh_auto_build> usually passes.
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
39
40
=back
41
42
=cut
43
1.3.1 by Joey Hess
* Add ant buildsystem support. Closes: #537021
44
buildsystems_init();
45
buildsystems_do();
36 by Martin Pitt
* Merge with Debian unstable. Remaining Ubuntu changes:
46
47
=head1 SEE ALSO
48
49
L<debhelper(7)>
50
51
This program is a part of debhelper.
52
53
=head1 AUTHOR
54
55
Joey Hess <joeyh@debian.org>
56
57
=cut