#!/usr/bin/make -f
%:
dh $@ --with dist-zilla
master
branch with dzil build
upstream
branch
upstream
branch into the debian
branch
debian/changelog
, etc.)
.deb
package
.deb
directly from a VCS checkout
dh-make-perl
(for bootstrapping the Debian packaging) needs CPAN
meta data.
dh-make-perl
once manually inside the
dzil
-generated build directory, copy debian/
subdirectory back
into the project root directory.
dh
) only knows about Build.PL
and Makefile.PL
, not
about dist.ini
Build.PL
or Makefile.PL
.
dzil build
before dh_auto_configure
-D
to dh_auto_configure
,
dh_auto_build
, dh_auto_test
and dh_auto_install
.
dzil clean
before dh_auto_clean
.
It’s as simple as this debian/rules
file:
#!/usr/bin/make -f
%:
dh $@ --with dist-zilla
Additionally, a build-dependency on dh-dist-zilla
is needed.
Expected / Traditional:
dzil build
→ CPAN tar-ball ∈ Debian Source Package → Debian Binary Package
dh-dist-zilla:
dzil build
→ CPAN tar-ball