]> git.donarmstrong.com Git - debhelper.git/blob - dh_auto_build
Typo. Closes: #653339
[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<build system options>>] [S<I<debhelper options>>] [S<B<--> I<params>>]
15
16 =head1 DESCRIPTION
17
18 B<dh_auto_build> is a debhelper program that tries to automatically build a
19 package. It does so by running the appropriate command for the build system
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.
23
24 This is intended to work for about 90% of packages. If it doesn't work,
25 you're encouraged to skip using B<dh_auto_build> at all, and just run the
26 build process manually.
27
28 =head1 OPTIONS
29
30 See L<debhelper(7)/B<BUILD SYSTEM OPTIONS>> for a list of common build
31 system selection and control options.
32
33 =over 4
34
35 =item B<--> I<params>
36
37 Pass I<params> to the program that is run, after the parameters that
38 B<dh_auto_build> usually passes.
39
40 =back
41
42 =cut
43
44 buildsystems_init();
45 buildsystems_do();
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