]> Sergey Matveev's repositories - public-inbox.git/commitdiff
doc: remove .x/ subdirectory for Xapian manpages
authorEric Wong <e@yhbt.net>
Thu, 6 Feb 2020 04:03:47 +0000 (22:03 -0600)
committerEric Wong <e@yhbt.net>
Thu, 6 Feb 2020 19:10:56 +0000 (19:10 +0000)
There's no need to keep Xapian manpage renderings in a separate
subdirectory, after all.

Eliminating this difference between the local FS and URL path
will allow relative URLs to the Xapian manpages in our local
HTML documentation to work smoothly, since there was never any
".x/" path component for files served from public-inbox.org

Documentation/.gitignore
Documentation/include.mk
Makefile.PL

index f26169acb7be071a4d61cbb99068a7bc7ba02ef8..925100394eab0588b453bf7b7648d3a0b4d7a34a 100644 (file)
@@ -1,4 +1,4 @@
 /public-inbox-*.txt
 /public-inbox.cgi.txt
 /standards.txt
-/.x
+/.*.txt
index 41de0a7277e3c38ab28cb0c5ac55c86626bf43d7..8c5f3ca8375eea59ab0af7dcc97cf7ecbfc2d894 100644 (file)
@@ -89,9 +89,6 @@ check :: NEWS .NEWS.atom.check NEWS.html
 
 html: $(docs_html)
 
-Documentation/.x:
-       mkdir -p $@
-
 doc: $(docs)
 
 %.gz: %
index 598741706041302a7b887df28441d3603809a81e..8f1bc4b413b7d340e629522b07f690dcb61a80a8 100644 (file)
@@ -71,10 +71,10 @@ $v->{rsync_docs} = [ @{$v->{gz_docs}}, @{$v->{docs}},
 # 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/.x/.$_.txt" } @xman ];
-$v->{xdocs_html} = [ map { "Documentation/.x/.$_.html" } @xman ];
+$v->{xdocs} = [ map { "Documentation/.$_.txt" } @xman ];
+$v->{xdocs_html} = [ map { "Documentation/.$_.html" } @xman ];
 for (@{$v->{xdocs}}) {
-       $t->{"$_ : | Documentation/.x"} = [
+       $t->{"$_:"} = [
                '$(PERL) -w Documentation/extman.perl $@ >$@+',
                'mv $@+ $@'
        ];