NAME
Dist::Zilla::App::Command::dhmakeperl - use dh-make-perl to generate
.deb archives from your CPAN package
VERSION
version 0.007
SYNOPSIS
Once the package is installed and you have setup the prereqs, you can
run the following command inside your package folder:
dzil dhmakeperl
Once this is done your package will be tested and deb file will be
generated in the debuild folder for you.
DESCRIPTION
This is a extension for the Dist::Zilla App that adds a command
dhmakeperl to your dzil package for compiling your perl modules into
.deb packages.
Before you install this package make sure that dh-make-perl is
installed in your debian/ubuntu system. There are some additional app
requirements that you might want to install for dh-make-perl to avoid
annoying warnings from dh-make-perl.
sudo apt-get install dh-make-perl
sudo apt-get install apt-file
sudo apt-file update
To make sure that your changelog and debian control file is included
use plugins Dist::Zilla::Plugin::Control::Debian and
Dist::Zilla::Plugin::ChangelogFromGit::Debian in your dist.ini
METHODS
abstract
opt_spec
validate_args
execute
NOTES
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683533 If you
have accidentally upgraded Makemaker you may apply this patch to
fix the perllocal.pod error.
--- ./Debian/Debhelper/Buildsystem/makefile.pm 2012-05-19 17:26:26.000000000 +0200
+++ ./Debian/Debhelper/Buildsystem/makefile.pm.new 2012-08-01 15:53:41.000000000 +0200
@@ -100,9 +100,9 @@
sub install {
my $this=shift;
my $destdir=shift;
- $this->make_first_existing_target(['install'],
+ $this->make_first_existing_target(['pure_install', 'install'],
"DESTDIR=$destdir",
"AM_UPDATE_INFO_DIR=no", @_);
}
* The .deb archive is created using code in your current
repository. It does not use cpan2deb to pull CPAN code to create
the .deb archive.
* You must have dh-make-perl installed on your system to use this
command.
* use sudo apt-get install dh-make-perl to install it on debian and
ubuntu.
* The .deb file will be created in the debuild folder, This should
be added to your .gitignore file.
SUPPORT
Bugs / Feature Requests
Please report any bugs or feature requests through github at
https://github.com/shantanubhadoria/perl-dist-zilla-app-command-dhmak
eperl/issues. You will be notified automatically of any progress on
your issue.
Source Code
This is open source software. The code repository is available for
public review and contribution under the terms of the license.
https://github.com/shantanubhadoria/perl-dist-zilla-app-command-dhmak
eperl
git clone git://github.com/shantanubhadoria/perl-dist-zilla-app-command-dhmakeperl.git
AUTHOR
Shantanu Bhadoria <shantanu@cpan.org>
https://www.shantanubhadoria.com
CONTRIBUTORS
* Shantanu <shantanu@cpan.org>
* Shantanu Bhadoria <shantanu@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Shantanu Bhadoria.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.