]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Makefile.PL
build: fix xapian-* manpage generation
[public-inbox.git] / Makefile.PL
index 0f50a65852ac6b083a3ca3a8a2f4472372433877..e9e4e2abee9fd8befdb4b1b47245d4f0c41f6d0f 100644 (file)
@@ -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/;