summaryrefslogtreecommitdiffstats
path: root/lib/Debian/Debhelper/DH/SequenceState.pm
blob: b029e01d53089865b76c489a1c38cb90f2e9b5d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Defines dh sequence state variables
#
# License: GPL-2+

package Debian::Debhelper::DH::SequenceState;
use strict;
use warnings;

our (
	# Definitions of sequences.
	%sequences,
	# Additional command options
	%command_opts,
	# Track commands added by (which) addons
	%commands_added_by_addon,
	# Removed commands
	%obsolete_command,
	# Commands that can be skipped due to DEB_BUILD_OPTIONS=X flags
	%commands_skippable_via_deb_build_options,
	# Options passed that should be passed on to underlying helpers (in order)
	@options,
	# Options passed by name (to assist can_skip with which options are used)
	%seen_options,
	# Whether there were sequences of options that inhibit certain optimizations
	# * $unoptimizable_option_bundle => can skip iff cli-options hint is present and empty
	# * $unoptimizable_user_option => We can never skip anything (non-option seen)
	$unoptimizable_option_bundle,
	$unoptimizable_user_option,
);

1;