about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--Makefile.PL3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 0f50a658..e9e4e2ab 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -71,7 +71,8 @@ $v->{xdocs} = [ map { "Documentation/.x/.$_.txt" } @xman ];
 $v->{xdocs_html} = [ map { "Documentation/.x/.$_.html" } @xman ];
 for (@{$v->{xdocs}}) {
         $t->{"$_ : | Documentation/.x"} = [
-                '$(PERL) -w Documentation/extman.perl >$@',
+                '$(PERL) -w Documentation/extman.perl $@ >$@+',
+                'mv $@+ $@'
         ];
         my $html = $_;
         $html =~ s/\.txt\z/.html/;