X-Git-Url: http://git.jankratochvil.net/?p=macros.git;a=blobdiff_plain;f=AutoGen.pm;h=09e274444b5a454567997c35c6b69e67ea0ade81;hp=1ebee4386c7d143741e3d269065a0a0202daa229;hb=refs%2Ftags%2Fcaptive-0_9_4;hpb=e23682c3b17fe67609f5596a96bf90becc548d91 diff --git a/AutoGen.pm b/AutoGen.pm index 1ebee43..09e2744 100644 --- a/AutoGen.pm +++ b/AutoGen.pm @@ -296,6 +296,7 @@ my($class,%args)=@_; @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", @@ -886,7 +887,13 @@ Include both B and B to B. =item -Use B<@VERSION_BASE@> in B. +Include B to B field in B. + +=item + +Use B<@VERSION@> in B. 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