summaryrefslogtreecommitdiff
path: root/lib/DhMakeELPA
diff options
context:
space:
mode:
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') );
}