summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-03-22 17:25:30 +1100
committerMaxime Coste <mawww@kakoune.org>2024-03-22 17:30:43 +1100
commit794e7ce51c7b2256ebc98cf8b7c8d4291dcba382 (patch)
tree20b7e3b6326f4d7779ea573696aa0fa02075f150 /Makefile
parentca7471c25d3e0f8dbe48bfec7f6c9af1cb6b34ae (diff)
Fix Makefile dist file generation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7a2c737a..8c1b5862 100644
--- a/Makefile
+++ b/Makefile
@@ -7,9 +7,9 @@ debug = no
static = no
gzip_man = yes
# to get format compatible with GitHub archive use "gzip -S .gz" here
-compress_bin = bzip
+compress_bin = bzip2
-compress-suffix-bzip = bz2
+compress-suffix-bzip2 = bz2
compress-suffix-zstd = zst
CPPFLAGS-debug-yes = -DKAK_DEBUG
@@ -141,10 +141,10 @@ tags:
clean:
rm -f $(objects) $(deps) src/.version*
-dist: kakoune-$(version).tar.zst
+dist: kakoune-$(version).tar.$(compress-suffix-$(compress_bin))
kakoune-$(version).tar.$(compress-suffix-$(compress_bin)): kakoune-$(version).tar
- $(compress_bin) -f $< -o $@
+ $(compress_bin) -f $<
kakoune-$(version).tar:
@if ! [ -d .git ]; then echo "make dist can only run from a git repo"; false; fi