Commit 75050256 authored by Frédéric Buclin's avatar Frédéric Buclin

Merge branch 'master' of ssh://git.mozilla.org/bugzilla/bugzilla

parents 1a8b9441 4ad3e587
File mode changed from 100644 to 100755
...@@ -57,12 +57,14 @@ use File::Which qw(which); ...@@ -57,12 +57,14 @@ use File::Which qw(which);
# Subs # Subs
############################################################################### ###############################################################################
my $error_found = 0;
sub MakeDocs { sub MakeDocs {
my ($name, $cmdline) = @_; my ($name, $cmdline) = @_;
say "Creating $name documentation ..." if defined $name; say "Creating $name documentation ..." if defined $name;
say "$cmdline\n"; say "$cmdline\n";
system $cmdline; system($cmdline) == 0
or $error_found = 1;
print "\n"; print "\n";
} }
...@@ -160,3 +162,5 @@ foreach my $lang (@langs) { ...@@ -160,3 +162,5 @@ foreach my $lang (@langs) {
rmtree('doctrees', 0, 1); rmtree('doctrees', 0, 1);
} }
die "Error occurred building the documentation\n" if $error_found;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment