X-Git-Url: http://git.jankratochvil.net/?p=macros.git;a=blobdiff_plain;f=AutoGen.pm;h=e202fc425b532675e3e8decd163d07479d0bc75c;hp=8519a75d7c84d5a8cb5f8f1e30ba312404f26c9c;hb=180227cc41c480abaf2e167602b9385e056098de;hpb=19e00dcd0398730dff10b24fe7258f7b5b79f4ec diff --git a/AutoGen.pm b/AutoGen.pm index 8519a75..e202fc4 100644 --- a/AutoGen.pm +++ b/AutoGen.pm @@ -43,6 +43,9 @@ HERE } die "You are missing some modules - install them by:\n" ."\tperl -MCPAN -e 'install qw(".join(" ",@missing).")'\n" + ."If you see messages: Writing Makefile for -- NOT OK\n" + ."you may did not have installed make(1) while configuring Perl CPAN.\n" + ."Install make(1) and type 'o conf init' in: perl -MCPAN -e shell\n" if @missing; } @@ -56,6 +59,8 @@ Beware: '.basename($0).' is a tool only for maintainers! Supported parameters: --rpm Build RPM packages locally (needs /usr/src/(redhat|packages)/ access) --rpmtest Build RPM like "rpm" but w/o gpg/pgp signing + --deb Build DEB packages locally + --debtest Build DEB like "deb" but w/o gpg/pgp signing --clean Standard cleanup method --fullclean Like clean but even the .cvsignore files are removed --copy Behave exactly like in default mode but copy all instead of symlinks @@ -267,7 +272,7 @@ my($class,%args)=@_; _system "make distdir"; # Copy 'orig' archive after &_prepdist which would delete it. my @origs; - for my $glob ("orig-$name-*.tar.{gz,Z}") { + for my $glob ("orig-$name-*.tar.{gz,Z,bz2}") { @origs=glob $glob; if (@origs) { confess "Invalid glob $glob: ".join(",",@origs) if 1!=@origs;