Put the doc/manpages/ pages in the 'k' section

This commit is contained in:
Maxime Coste 2017-05-27 07:35:13 +01:00
parent ad154e7bb7
commit bc92633ddd
13 changed files with 16 additions and 16 deletions

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -1,4 +1,4 @@
KAKOUNE(1)
kakoune(k)
==========
NAME

View File

@ -84,10 +84,10 @@ kak$(suffix) : $(objects)
# we generate the pages, patch them and then compress them
../doc/manpages/%.gz: ../doc/manpages/%.asciidoc
a2x --no-xmllint -f manpage $<
sed -i -r -e "s,^\.TH .+,.TH KAKOUNE 1 \"\" \"\" \"$(basename $(notdir $<))\"," \
-e "/^\.SH \"NAME\"/{N;d;}" $(@:.gz=.1)
gzip -n -9 -f $(@:.gz=.1)
mv -f $(@:.gz=.1.gz) $@
sed -i -r -e "s,^\.TH .+,.TH kakoune k \"\" \"\" \"$(basename $(notdir $<))\"," \
-e "/^\.SH \"NAME\"/{N;d;}" $(@:.gz=.k)
gzip -n -9 -f $(@:.gz=.k)
mv -f $(@:.gz=.k.gz) $@
check: test
test: