ref: 40b40dac456b77f4b46b2e465931f821c564e26e
parent: adf681cd88d306c4afd995150bbb21d3286d0eba
author: mkf <mkf@cloud9p.org>
date: Fri Oct 11 15:12:27 EDT 2024
add wiki2ms to mkfile, some minor fixes
--- a/doc/html
+++ b/doc/html
@@ -35,7 +35,7 @@
echo '<p><div id="content">'
if(test -r $gitfs/$ref/tree/$file.wms)
- wm/wiki2ms $gitfs/$ref/tree/$file.wms | ms2html
+ wm/doc/wiki2ms $gitfs/$ref/tree/$file.wms | ms2html
if not
ms2html < $gitfs/$ref/tree/$file.ms
--- a/doc/pdf
+++ b/doc/pdf
@@ -27,6 +27,6 @@
cd $gitfs/$ref/tree
if(test -r $gitfs/$ref/tree/$file.wms)
- wm/wiki2ms $gitfs/$ref/tree/$file.wms | troff -ms | dpost | ps2pdf
+ wm/doc/wiki2ms $gitfs/$ref/tree/$file.wms | troff -ms | dpost | ps2pdf
if not
troff -ms $gitfs/$ref/tree/$file.ms | dpost | ps2pdf
--- a/doc/ps
+++ b/doc/ps
@@ -27,6 +27,6 @@
cd $gitfs/$ref/tree
if(test -r $gitfs/$ref/tree/$file.wms)
- wm/wiki2ms $gitfs/$ref/tree/$file.wms | troff -ms | dpost
+ wm/doc/wiki2ms $gitfs/$ref/tree/$file.wms | troff -ms | dpost
if not
troff -ms $gitfs/$ref/tree/$file.ms | dpost
--- a/doc/txt
+++ b/doc/txt
@@ -27,6 +27,6 @@
cd $gitfs/$ref/tree
if(test -r $gitfs/$ref/tree/$file.wms)
- wm/wiki2ms $gitfs/$ref/tree/$file.wms | nroff -ms | col -bf
+ wm/doc/wiki2ms $gitfs/$ref/tree/$file.wms | nroff -ms | col -bf
if not
nroff -ms $gitfs/$ref/tree/$file.ms | col -bf
--- a/doc/wiki2ms
+++ b/doc/wiki2ms
@@ -122,5 +122,6 @@
# indirect links ([x] form)
indirectlink |
-# man pages
-manpage
+# man pages, TODO: enable it later
+#manpage
+cat
--- a/mkfile
+++ b/mkfile
@@ -14,6 +14,7 @@
doc/ps\
doc/txt\
doc/weblist\
+ doc/wiki2ms\
</sys/src/cmd/mkmany