]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Makefile.PL
doc: design_notes: updates for "newer" things
[public-inbox.git] / Makefile.PL
index 8c8c0235f35bc38320f5dd0478bfa9439afa08e9..fffe30e93181e86cac02c0809c6dab3f8c78f1e5 100644 (file)
@@ -72,7 +72,7 @@ for my $i (@sections) {
                my $pod = "Documentation/$m.pod";
                my $txt = "Documentation/$m.txt";
                $t->{"$m.$i : $pod"} = [ "\$(podman) -s$i $pod \$@" ];
-               $t->{"$txt : $pod"} = [ "\$(podtext) $pod \$\@+",
+               $t->{"$txt : $m.$i"} = [ "\$(man2text) ./$m.$i >\$\@+",
                                        "touch -r $pod \$\@+",
                                        "mv \$\@+ \$@" ];
                $t->{"Documentation/$m.html : $txt"} = [ "\$(txt2pre) <$txt" ];
@@ -101,23 +101,6 @@ $v->{gz_docs} = [ map { "$_.gz" } (@{$v->{docs}},@{$v->{docs_html}}) ];
 $v->{rsync_docs} = [ @{$v->{gz_docs}}, @{$v->{docs}},
        @{$v->{docs_html}}, qw(NEWS.atom NEWS.atom.gz)];
 
-# external manpages which we host ourselves, since some packages
-# (currently just Xapian) doesn't host manpages themselves.
-my @xman = qw(copydatabase.1 xapian-compact.1);
-$v->{xdocs} = [ map { "Documentation/.$_.txt" } @xman ];
-$v->{xdocs_html} = [ map { "Documentation/.$_.html" } @xman ];
-for (@{$v->{xdocs}}) {
-       $t->{"$_:"} = [
-               '$(PERL) -w Documentation/extman.perl $@ >$@+',
-               'mv $@+ $@'
-       ];
-       my $html = $_;
-       $html =~ s/\.txt\z/.html/;
-       $t->{"$html : $_"} = [ "\$(txt2pre) <$_" ];
-}
-$v->{gz_xdocs} = [ map { "$_.gz" } (@{$v->{xdocs_html}}, @{$v->{xdocs}}) ];
-$v->{rsync_xdocs} = [ @{$v->{gz_xdocs}}, @{$v->{xdocs_html}}, @{$v->{xdocs}} ];
-
 my $TGTS = join("\n", map {;
        my $tgt_prereq = $_;
        my $cmds = $t->{$_};