summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-05-27 07:35:13 +0100
committerMaxime Coste <mawww@kakoune.org>2017-05-27 07:35:13 +0100
commitbc92633ddd5617bafd225ff8f0afba850d6c9cc5 (patch)
tree96a80ea24a3a70e1429f4fbca453f89e89c18deb /src
parentad154e7bb74056f615a72c207a22f09f63a78807 (diff)
Put the doc/manpages/ pages in the 'k' section
Diffstat (limited to 'src')
-rw-r--r--src/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index cde2b943..25b53ffa 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: