path: root/Debian/Debhelper/Sequence
diff options
authorJoey Hess <>2008-05-04 16:12:55 -0400
committerJoey Hess <>2008-05-04 16:12:55 -0400
commit46a3cbebf3ef53caf67f013ade4efa82a948b10a (patch)
treea3f89cb99c687d9a0656b6d3b55e871bad965a85 /Debian/Debhelper/Sequence
parent14698262f45715ebcc232b83b7a346d724fda355 (diff)
dh addon interface
* dh: Add an interface that third-party packages providing debhelper commands can use to insert them into a command sequence. (See dh(1), "SEQUENCE ADDONS".) * dh: --with=foo can be used to include such third-party commands. So, for example, --with=cli could add the dh_cli* commands from cli-common. * Moved python-support special case out of dh and into a python-support sequence addon. --with=python-support is enabled by default to avoid breaking backwards compatability.
Diffstat (limited to 'Debian/Debhelper/Sequence')
1 files changed, 15 insertions, 0 deletions
diff --git a/Debian/Debhelper/Sequence/ b/Debian/Debhelper/Sequence/
new file mode 100644
index 0000000..3d03ebb
--- /dev/null
+++ b/Debian/Debhelper/Sequence/
@@ -0,0 +1,15 @@
+# debhelper sequence file for python-support
+use warnings;
+use strict;
+use Debian::Debhelper::Dh_Lib;
+# Test if dh_pysupport is available before inserting it.
+# (This would not be needed if this file was contained in the python-support
+# package.)
+if (-x "/usr/bin/dh_pysupport") {
+ insert_after("dh_perl", "dh_pysupport");