]> git.donarmstrong.com Git - debhelper.git/blob - dh_auto_build
Migrates dh_auto_* commands to Dh_Buildsystems.pm
[debhelper.git] / dh_auto_build
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;
10 use Debian::Debhelper::Dh_Buildsystems;
11
12 =head1 SYNOPSIS
13
14 B<dh_auto_build> [S<I<debhelper options>>] [S<B<--> I<params>>]
15
16 =head1 DESCRIPTION
17
18 dh_auto_build is a debhelper program that tries to automatically
19 build a package. If a Makefile is found, this is done by running make (or
20 MAKE, if the environment variable is set).
21 If there's a setup.py, or Build.PL, it is run to build the package.
22
23 This is intended to work for about 90% of packages. If it doesn't work,
24 you're encouraged to skip using dh_auto_build at all, and just run the
25 build process manually.
26
27 =head1 OPTIONS
28
29 =over 4
30
31 =item B<--> I<params>
32
33 Pass "params" to the program that is run. These can be used to supplement
34 or override any standard parameters that dh_auto_build passes.
35
36 =back
37
38 =cut
39
40 my $manager = new Debian::Debhelper::Dh_Buildsystems;
41 $manager->run_dh_auto_tool();
42
43 =head1 SEE ALSO
44
45 L<debhelper(7)>
46
47 This program is a part of debhelper.
48
49 =head1 AUTHOR
50
51 Joey Hess <joeyh@debian.org>
52
53 =cut