summaryrefslogtreecommitdiffstats
path: root/lib/Debian/Debhelper/DH/SequenceState.pm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:15:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-14 20:15:44 +0000
commit1a42a93b11c48e696446250f2a1f1ca71b350e9b (patch)
tree900e3702d59f6d7cae8f7def94ed5194602f6846 /lib/Debian/Debhelper/DH/SequenceState.pm
parentInitial commit. (diff)
downloaddebhelper-1a42a93b11c48e696446250f2a1f1ca71b350e9b.tar.xz
debhelper-1a42a93b11c48e696446250f2a1f1ca71b350e9b.zip
Adding upstream version 13.3.4.upstream/13.3.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/Debian/Debhelper/DH/SequenceState.pm')
-rw-r--r--lib/Debian/Debhelper/DH/SequenceState.pm31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/Debian/Debhelper/DH/SequenceState.pm b/lib/Debian/Debhelper/DH/SequenceState.pm
new file mode 100644
index 0000000..b029e01
--- /dev/null
+++ b/lib/Debian/Debhelper/DH/SequenceState.pm
@@ -0,0 +1,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;