diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-03-22 17:25:30 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-03-22 17:30:43 +1100 |
| commit | 794e7ce51c7b2256ebc98cf8b7c8d4291dcba382 (patch) | |
| tree | 20b7e3b6326f4d7779ea573696aa0fa02075f150 /Makefile | |
| parent | ca7471c25d3e0f8dbe48bfec7f6c9af1cb6b34ae (diff) | |
Fix Makefile dist file generation
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
