summaryrefslogtreecommitdiff
path: root/lib/DhMakeELPA
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2016-04-03 16:23:14 -0700
committerSean Whitton <spwhitton@spwhitton.name>2016-04-03 16:23:14 -0700
commitfe6195e61bc7dbfa68a56dc2bd6412414a8cee0c (patch)
tree4eb4f27832fbaa00377485d48225e05edba9dbd5 /lib/DhMakeELPA
parent8c1997890c6ce119b8b1255e204e170d67eaac60 (diff)
start producing binary package stanzas
Diffstat (limited to 'lib/DhMakeELPA')
-rw-r--r--lib/DhMakeELPA/Command/make.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/DhMakeELPA/Command/make.pm b/lib/DhMakeELPA/Command/make.pm
index 553afcb..955f21b 100644
--- a/lib/DhMakeELPA/Command/make.pm
+++ b/lib/DhMakeELPA/Command/make.pm
@@ -47,6 +47,13 @@ sub create_control {
$self->fill_maintainer();
$self->fill_vcs();
+ foreach my $bin (keys %{$self->bins}) {
+ my $stanza = { Package => "elpa-$bin",
+ Architecture => "all",
+ };
+ $self->control->binary_tie->Push( $bin => Debian::Control::Stanza::Binary->new($stanza) );
+ }
+
$self->control->write( $self->debian_file('control') );
}