summaryrefslogtreecommitdiff
path: root/sys/man/mkfile
diff options
context:
space:
mode:
authorrgl <devnull@localhost>2020-01-04 18:02:54 +0100
committerrgl <devnull@localhost>2020-01-04 18:02:54 +0100
commit645b5f8724c0116d974680bdb591320256cc36e0 (patch)
tree491fac614e0bfaf292983265d0e5ff57ac697425 /sys/man/mkfile
parentc739f57ac2f136e67be63a4678d4171889057105 (diff)
/sys/man/9: more pages added
in addition to the pages, there's also changes to the mkfile to generate the index for the new section.
Diffstat (limited to 'sys/man/mkfile')
-rw-r--r--sys/man/mkfile14
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/man/mkfile b/sys/man/mkfile
index 3bb6aaa51..5aa10fd88 100644
--- a/sys/man/mkfile
+++ b/sys/man/mkfile
@@ -5,7 +5,7 @@ LIB=/sys/lib/man
default:V: check
indices:V:
- for (i in [0-8]){
+ for (i in [0-9]){
$LIB/secindex $i > $i/INDEX
$LIB/mkhtmlindex $i > $i/INDEX.html
}
@@ -18,7 +18,7 @@ permind:V:
echo .am TH
echo .tm '\\$1' '\\$2' '\\n%'
echo ..
- for (i in [0-8]){
+ for (i in [0-9]){
builtin cd $i
for(j in [a-z0-9]*)
switch($i/$j){
@@ -41,18 +41,18 @@ permind:V:
mk out > /dev/null >[2] /dev/null
old-check:V: checksource
- awk -f $LIB/checkman.awk [0-8]/* | sed '/\/(cda|av|midi|pub|weather|service\.9net|isdn)(\/|\))/d'
+ awk -f $LIB/checkman.awk [0-9]/* | sed '/\/(cda|av|midi|pub|weather|service\.9net|isdn)(\/|\))/d'
punccheck:
grep -n '^\.[IB][^PRIB].+[.;,:]$' [0-9]/* | grep -v '\.\.\.'
check:V: indices checksource
- awk -f $LIB/checkman.awk [0-8]/*
+ awk -f $LIB/checkman.awk [0-9]/*
checksource:QV:
sam -d >[2]/dev/null <<'!'
f input
- < cat [0-8]/[0-9a-z]*
+ < cat [0-9]/[0-9a-z]*
B output
b input
,x/^\.SH SOURCE/ .,/^\.SH/ x g/^\.B/t "output
@@ -80,7 +80,7 @@ print.out:V: permind
{echo -n $FONTS; cat $LIB/preface} | troff -ms
{echo -n $FONTS; echo ' '} | troff
{
- for (i in [0-8]){
+ for (i in [0-9]){
builtin cd $i
for(j in [a-z0-9]*)
switch($i/$j){
@@ -116,6 +116,6 @@ print.out:V: permind
ps2pdf $prereq $target
clean:V:
- rm -f man.out print.out searchindex $LIB/permind/toc $LIB/lookman/index [0-8]^/INDEX^('' .html)
+ rm -f man.out print.out searchindex $LIB/permind/toc $LIB/lookman/index [0-9]^/INDEX^('' .html)
builtin cd $LIB/permind
mk clean