Avoid using gzips '-k' for compatibility

OpenBSD's gzip doesn't have '-k', but file redirection should work
everywhere.
This commit is contained in:
codesoap 2019-05-28 10:25:41 +02:00
parent 9ffde03ca7
commit 6788b3ae27

View File

@ -113,7 +113,7 @@ kak$(suffix) : $(objects) .version.o
# Generate the man page # Generate the man page
ifeq ($(gzip_man),yes) ifeq ($(gzip_man),yes)
../doc/kak.1.gz: ../doc/kak.1 ../doc/kak.1.gz: ../doc/kak.1
gzip -n -9 -f -k $< gzip -n -9 -f < $< > $@
man: ../doc/kak.1.gz man: ../doc/kak.1.gz
else else
man: ../doc/kak.1 man: ../doc/kak.1