]> Sergey Matveev's repositories - public-inbox.git/commitdiff
build: fix xapian-* manpage generation
authorEric Wong <e@80x24.org>
Wed, 1 Jan 2020 09:57:54 +0000 (09:57 +0000)
committerEric Wong <e@80x24.org>
Thu, 2 Jan 2020 02:15:52 +0000 (02:15 +0000)
extman.perl requires the name of its target

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/;