~ubuntu-branches/ubuntu/natty/debhelper/natty

« back to all changes in this revision

Viewing changes to dh_auto_build

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2011-02-07 17:16:49 UTC
  • mfrom: (1.4.21 sid)
  • Revision ID: james.westby@ubuntu.com-20110207171649-v8k6uowavom83cxt
Tags: 8.1.0ubuntu1
* Merge with Debian (LP: #714705); remaining changes:
  - dh_installinit: Add --upstart-only and --onlyscripts-upstart modes.
  - Add various autoscripts for above: postinst-upstart,
    postinst-upstart-replace, postinst-upstart-restart,
    prerm-upstart, prerm-upstart-norestart, preinst-removeconffile.
  - dh_installudev: Change default init.d symlink priority to 40.
  - dh_installchangelogs: Do not install upstream changelog in compat level
    7. This floods packages with huge upstream changelogs which take
    precious CD space.
  - dh_strip, dh_makeshlibs: use triplet-objdump, triplet-objcopy and
    triplet-strip from cross-binutils when cross-compiling; Debian #412118.
  - add dh_apparmor and autoscripts
  - debian/rules: override build target to set executable bit for
    dh_apparmor before actually running dh build, that is in order to get
    the manpage built for dh_apparmor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
=head1 DESCRIPTION
17
17
 
18
 
dh_auto_build is a debhelper program that tries to automatically build a
 
18
B<dh_auto_build> is a debhelper program that tries to automatically build a
19
19
package. It does so by running the appropriate command for the build system
20
 
it detects the package uses. For example, if a Makefile is found, this is
21
 
done by running make (or MAKE, if the environment variable is set). If
22
 
there's a setup.py, or Build.PL, it is run to build the package.
 
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
23
 
24
24
This is intended to work for about 90% of packages. If it doesn't work,
25
 
you're encouraged to skip using dh_auto_build at all, and just run the
 
25
you're encouraged to skip using B<dh_auto_build> at all, and just run the
26
26
build process manually.
27
27
 
28
28
=head1 OPTIONS
29
29
 
30
 
See L<debhelper(7)/BUILD SYSTEM OPTIONS> for a list of common build
 
30
See L<debhelper(7)/B<BUILD SYSTEM OPTIONS>> for a list of common build
31
31
system selection and control options.
32
32
 
33
33
=over 4
34
34
 
35
35
=item B<--> I<params>
36
36
 
37
 
Pass "params" to the program that is run. These can be used to supplement
38
 
or override any standard parameters that dh_auto_build passes.
 
37
Pass I<params> to the program that is run. These can be used to supplement
 
38
or override any standard parameters that B<dh_auto_build> passes.
39
39
 
40
40
=back
41
41