[Po4a-devel][CVS] po4a Build.PL,1.9,1.10

Jordi Vilalta po4a-devel@lists.alioth.debian.org
Sun, 08 Aug 2004 16:01:56 +0000


Update of /cvsroot/po4a/po4a
In directory haydn:/tmp/cvs-serv15282

Modified Files:
	Build.PL 
Log Message:
Added the 'test' dependancy to the 'dist' target


Index: Build.PL
===================================================================
RCS file: /cvsroot/po4a/po4a/Build.PL,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Build.PL	7 Aug 2004 04:53:33 -0000	1.9
+++ Build.PL	8 Aug 2004 16:01:54 -0000	1.10
@@ -209,6 +209,17 @@
 		}
 	    }
 	}
+	sub ACTION_dist {
+	    my ($self) = @_;
+
+	    $self->depends_on('test');
+	    $self->depends_on('distdir');
+
+	    my $dist_dir = $self->dist_dir;
+
+	    $self->make_tarball($dist_dir);
+	    $self->delete_filetree($dist_dir);
+	} 
 	sub ACTION_postats {
 	    my $self = shift;
 	    $self->depends_on('binpo');