=item B<--until> I<cmd>
Run commands in the sequence until and including I<cmd>, then stop.
+(Deprecated)
=item B<--before> I<cmd>
Run commands in the sequence before I<cmd>, then stop.
+(Deprecated)
=item B<--after> I<cmd>
Run commands in the sequence that come after I<cmd>.
+(Deprecated)
=item B<--remaining>
Run all commands in the sequence that have yet to be run.
+(Deprecated)
=item B<--no-act>
A sequence can also run dependent targets in debian/rules. For
example, the "binary" sequence runs the "install" target.
-B<dh> sets environment variables listed by B<dpkg-buildflags>, unless
-they are already set. It supports DEB_BUILD_OPTIONS=noopt too.
-
B<dh> uses the B<DH_INTERNAL_OPTIONS> environment variable to pass information
through to debhelper commands that are run inside override targets. The
contents (and indeed, existence) of this environment variable, as the name
);
inhibit_log();
set_buildflags();
+warn_deprecated();
# If make is using a jobserver, but it is not available
# to this process, clean out MAKEFLAGS. This avoids
}
+sub warn_deprecated {
+ foreach my $deprecated ('until', 'after', 'before', 'remaining') {
+ if (defined $dh{uc $deprecated}) {
+ warning("The --$deprecated option is deprecated. Use override targets instead.");
+ }
+ }
+}
+
=head1 SEE ALSO
L<debhelper(7)>