@subdirs=glob $glob;
confess "Invalid glob $glob: ".join(",",@subdirs) if 1!=@subdirs;
}
+ $base||=$subdirs[0];
rename $subdirs[0],$base or confess "$!";
_system(join(" ","cd ".$base.";dpkg-buildpackage",
"-rfakeroot",
=item
-Use B<@VERSION_BASE@> in B<debian/changelog.in>.
+Include B<debian/changelog> to B<clean> field in B<autogen.pl>.
+
+=item
+
+Use B<@VERSION@> in B<debian/changelog.in>. Package will be built as
+Debian-native package (no I<.diff> file) as the patches are not just for Debian
+packages, it is a new package (read: dpkg does not support branch patches).
=back