summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-05-21 06:34:36 +0100
committerMaxime Coste <mawww@kakoune.org>2017-05-21 06:34:36 +0100
commit248ffa543b992222a73cd82d46f51f84ddd583b6 (patch)
tree17f39bc6f344f4d9c13b8bb544f4ff722ee8aa45 /src
parentcab0adaa53c97441594cc67430ab01b12ee6b315 (diff)
parent4788112f2dd09118097de46f403210be3a35c5e7 (diff)
Merge branch 'master' of git://github.com/bmwiedemann/kakoune
Diffstat (limited to 'src')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index dbef95d9..cde2b943 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -13,7 +13,7 @@ else
endif
endif
-sources := $(wildcard *.cc)
+sources := $(sort $(wildcard *.cc))
objects := $(addprefix ., $(sources:.cc=$(suffix).o))
deps := $(addprefix ., $(sources:.cc=$(suffix).d))
docs := $(wildcard ../doc/manpages/*.asciidoc)
@@ -77,7 +77,7 @@ kak$(suffix) : $(objects)
# Generate the man page
../doc/kak.1.gz: ../doc/kak.1.txt
a2x --no-xmllint -f manpage $<
- gzip -f $(basename $<)
+ gzip -n -9 -f $(basename $<)
# Generate the editor's documentation pages
# Since `a2x` won't generate man pages if some sections are missing (which we don't need),
@@ -86,7 +86,7 @@ kak$(suffix) : $(objects)
a2x --no-xmllint -f manpage $<
sed -i -r -e "s,^\.TH .+,.TH KAKOUNE 1 \"\" \"\" \"$(basename $(notdir $<))\"," \
-e "/^\.SH \"NAME\"/{N;d;}" $(@:.gz=.1)
- gzip -f $(@:.gz=.1)
+ gzip -n -9 -f $(@:.gz=.1)
mv -f $(@:.gz=.1.gz) $@
check: test