From: Martin Mares Date: Wed, 20 Feb 2008 11:13:57 +0000 (+0100) Subject: Updated the release.pm module. X-Git-Tag: python-dummy-working~237 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=c54cab5bbd5b7c4cb0a48e17257b0150b4ceea66;p=moe.git Updated the release.pm module. --- diff --git a/maint/release.pm b/maint/release.pm index 1e826c0..dc937ce 100644 --- a/maint/release.pm +++ b/maint/release.pm @@ -1,6 +1,6 @@ #!/usr/bin/perl # A simple system for making software releases -# (c) 2003 Martin Mares +# (c) 2003--2006 Martin Mares package UCW::Release; use strict; @@ -15,7 +15,7 @@ sub new($$) { "PACKAGE" => $basename, "rules" => [ # p=preprocess, s=subst, -=discard - '(^|/)(CVS|\.arch-ids|{arch}|tmp)/' => '-', + '(^|/)(CVS|\.arch-ids|{arch}|\.git|tmp)/' => '-', '\.(lsm|spec)$' => 'ps', '(^|/)README$' => 's' ], @@ -147,7 +147,7 @@ sub CopyFile($$$$) { $empty && next; $empty = 1; } else { $empty = 0; } - } + } print O; } close O;