#!/usr/bin/perl

=head1 NAME

dh-make-elpa - helper for creating Debian packages from ELPA packages

=cut

use strict;
use warnings;

use DhMakeELPA;

exit DhMakeELPA->run;

__END__

=head1 SYNOPSIS

=over

=item dh-make-elpa [--pkg-emacsen] [make]

=back

=head1 DESCRIPTION

B<dh-make-elpa> will try to create the files required to build a
Debian source package from an unpacked GNU Emacs ELPA package.

B<dh-make-elpa> is an experimental script that performs a lot of
guesswork.  You should throughly verify the contents of the debian/
directory before uploading

=head2 COMMANDS

=over

=item make

Default command if no command is given. Creates debianisation from
scratch.  Fails with an error if F<debian/> directory already
exists.

=back

=head2 OPTIONS

=over

=item B<--pkg-emacsen>

Sets C<Maintainer>, C<Uploaders>, C<Vcs-Git> and C<Vcs-Browser> fields
in F<debian/control> according to the Team's conventions.

This option is useful when preparing a package for the Debian Emacs
Addon Packaging Team L<https://pkg-emacsen.alioth.debian.org>.

=back

=cut

=head1 AUTHOR

Written and maintained by Sean Whitton <spwhitton@spwhitton.name>.

A great deal of the library code used by B<dh-make-elpa>, and its
object-oriented structure, comes from dh-make-perl(1), written and
maintained by the Debian Perl Group.

=cut
