Makefile: Create LZMA-compressed dist-files
Phil Sutter
reviewerPATCH 1/1 Makefile: Create LZMA-compressed dist-files
Use a more modern alternative to bzip2.
--- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
@@ -5,7 +5,7 @@ AC_CONFIG_AUX_DIR([build-aux]) AC_CANONICAL_HOST AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_HEADERS([config.h]) -AM_INIT_AUTOMAKE([foreign tar-pax no-dist-gzip dist-bzip2 1.6 subdir-objects]) +AM_INIT_AUTOMAKE([foreign tar-pax no-dist-gzip dist-xz 1.6 subdir-objects]) dnl kernel style compile messages m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
Signature · 1 line
2.38.0
Pablo Neira Ayuso
maintainerHi Phil
Quoted 1 line · Phil Sutter
Use a more modern alternative to bzip2.
I tested this one for libmnl specifically and it works fine with make distcheck. I can quickly update the release script here to refer to tar.xz instead of tar.bz2.
I have seen other projects offering both .tar.bz2 and .tar.xz, the reason for this for me is unknown, I guess using .tar.xz should be fine for everyone?
Please go ahead push out these patches, thanks.
Phil Sutter
reviewerQuoted 5 lines · Pablo Neira Ayuso
Hi Phil
Quoted 1 line · Phil Sutter
Use a more modern alternative to bzip2.
Quoted 7 lines
I tested this one for libmnl specifically and it works fine with
make distcheck. I can quickly update the release script here to refer to tar.xz instead of tar.bz2.I have seen other projects offering both .tar.bz2 and .tar.xz, the reason for this for me is unknown, I guess using .tar.xz should be fine for everyone?
Maybe cruft from a time when LZMA support in tar was new. Maybe also people whining about failing distfile downloads.
Just for the record, one may easily configure automake to create multiple archives with different compressions from the same 'make dist' command.
Quoted 1 line
Please go ahead push out these patches, thanks.
Will do, thanks!
Cheers, Phil