From bc92633ddd5617bafd225ff8f0afba850d6c9cc5 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Sat, 27 May 2017 07:35:13 +0100 Subject: [PATCH] Put the doc/manpages/ pages in the 'k' section --- doc/manpages/commands.asciidoc | 2 +- doc/manpages/execeval.asciidoc | 2 +- doc/manpages/expansions.asciidoc | 2 +- doc/manpages/faces.asciidoc | 2 +- doc/manpages/faq.asciidoc | 2 +- doc/manpages/highlighters.asciidoc | 2 +- doc/manpages/hooks.asciidoc | 2 +- doc/manpages/keys.asciidoc | 2 +- doc/manpages/mapping.asciidoc | 2 +- doc/manpages/options.asciidoc | 2 +- doc/manpages/registers.asciidoc | 2 +- doc/manpages/scopes.asciidoc | 2 +- src/Makefile | 8 ++++---- 13 files changed, 16 insertions(+), 16 deletions(-) diff --git a/doc/manpages/commands.asciidoc b/doc/manpages/commands.asciidoc index bd7dd5380..f80f920ab 100644 --- a/doc/manpages/commands.asciidoc +++ b/doc/manpages/commands.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/execeval.asciidoc b/doc/manpages/execeval.asciidoc index 0d9195342..fad60a9c4 100644 --- a/doc/manpages/execeval.asciidoc +++ b/doc/manpages/execeval.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/expansions.asciidoc b/doc/manpages/expansions.asciidoc index 739d712b7..48e47fddf 100644 --- a/doc/manpages/expansions.asciidoc +++ b/doc/manpages/expansions.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/faces.asciidoc b/doc/manpages/faces.asciidoc index 7a6bec83f..6e6ba3d82 100644 --- a/doc/manpages/faces.asciidoc +++ b/doc/manpages/faces.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/faq.asciidoc b/doc/manpages/faq.asciidoc index ca40041c8..2c0e35bc3 100644 --- a/doc/manpages/faq.asciidoc +++ b/doc/manpages/faq.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/highlighters.asciidoc b/doc/manpages/highlighters.asciidoc index 0d804bbb7..b826efee4 100644 --- a/doc/manpages/highlighters.asciidoc +++ b/doc/manpages/highlighters.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/hooks.asciidoc b/doc/manpages/hooks.asciidoc index 0207d2b46..81cb815e4 100644 --- a/doc/manpages/hooks.asciidoc +++ b/doc/manpages/hooks.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/keys.asciidoc b/doc/manpages/keys.asciidoc index ab5a7510c..0873fa8bc 100644 --- a/doc/manpages/keys.asciidoc +++ b/doc/manpages/keys.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/mapping.asciidoc b/doc/manpages/mapping.asciidoc index 3d053e334..1a11d312b 100644 --- a/doc/manpages/mapping.asciidoc +++ b/doc/manpages/mapping.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/options.asciidoc b/doc/manpages/options.asciidoc index a569ce1ef..3e622aa36 100644 --- a/doc/manpages/options.asciidoc +++ b/doc/manpages/options.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/registers.asciidoc b/doc/manpages/registers.asciidoc index eb8e45c56..8b417a365 100644 --- a/doc/manpages/registers.asciidoc +++ b/doc/manpages/registers.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/doc/manpages/scopes.asciidoc b/doc/manpages/scopes.asciidoc index 2f4202073..9df5458b7 100644 --- a/doc/manpages/scopes.asciidoc +++ b/doc/manpages/scopes.asciidoc @@ -1,4 +1,4 @@ -KAKOUNE(1) +kakoune(k) ========== NAME diff --git a/src/Makefile b/src/Makefile index cde2b9433..25b53ffaf 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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: