X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debhelper.pod;h=98da7362868ed1d21ce85bc26bd4721203d9f0c3;hb=a4cf3e83f425663c6c190791fe3ea92b7143191a;hp=9000d69aa63991810b1bc98aefc943bd9f328680;hpb=6693ccf9146d8d9bb29e99276f6e30af3eab02c2;p=debhelper.git diff --git a/debhelper.pod b/debhelper.pod index 9000d69..98da736 100644 --- a/debhelper.pod +++ b/debhelper.pod @@ -191,14 +191,12 @@ in ALL packages acted on, not just the first. =head1 BUILD SYSTEM OPTIONS -All of the BI<*> debhelper programs set environment variables -listed by B, unless they are already set. They -support DEB_BUILD_OPTIONS=noopt too. - The following command line options are supported by all of the BI<*> debhelper programs. These programs support a variety of build systems, and normally heuristically determine which to use, and how to use them. You can use these command line options to override the default behavior. +Typically these are passed to L, which then passes them to all the +BI<*> programs. =over 4 @@ -476,9 +474,15 @@ multiarch directories to autoconf in --libdir and --libexecdir. =item - -dh allows defining custom build, build-arch, and build-indep targets -in debian/rules, without needing to manually define the other targets -that depend on them. +dh is aware of the usual dependencies between targets in debian/rules. +So, "dh binary" will run any build, build-arch, build-indep, install, +etc targets that exist in the rules file. There's no need to define an +explicit binary target with explicit dependencies on the other targets. + +=item - + +B compresses debugging symbol files to reduce the installed +size of -dbg packages. =item - @@ -489,6 +493,17 @@ in --libexecdir when using autoconf. B does not default to enabling --with=python-support +=item - + +All of the BI<*> debhelper programs and B set +environment variables listed by B, unless +they are already set. They support DEB_BUILD_OPTIONS=noopt too. + +=item - + +B passes CFLAGS to perl F and +F + =back =back @@ -610,13 +625,10 @@ Set to B<1> to enable no-act mode. =item B Anything in this variable will be prepended to the command line arguments -of all debhelper commands. Command-specific options will be ignored by -commands that do not support them. +of all debhelper commands. -This is useful in some situations, for example, if you need to pass B<-p> to -all debhelper commands that will be run. One good way to set B is -by using "Target-specific Variable Values" in your F file. See -the make documentation for details on doing this. +When using L, it can be passed options that will be passed on to each +debhelper command, which is generally better than using DH_OPTIONS. =item B