rule makes @samp{bzip2} use a compression option of @option{-9}. To
make it use a different one, set the @env{BZIP2} environment variable.
+@item @code{dist-bzip3}
+@trindex dist-bzip3
+@cmindex bzip3
+@vindex BZIP3
+Generate a @samp{bzip3} tar archive of the distribution. Unlike the
+other compression programs here, @command{bzip3} does not read any
+environment variables.
+
@item @code{dist-lzip}
@trindex dist-lzip
@cmindex lzip
Hook @code{dist-bzip2} to @code{dist}.
@trindex dist-bzip2
+@item @option{dist-bzip3}
+@cindex Option, @option{dist-bzip3}
+@opindex dist-bzip3
+Hook @code{dist-bzip3} to @code{dist}.
+@trindex dist-bzip3
+
@item @option{dist-lzip}
@cindex Option, @option{dist-lzip}
@opindex dist-lzip
These three mutually exclusive options select the tar format to use
when generating tarballs with @samp{make dist}. (The tar file created
is then compressed according to the set of @option{no-dist-gzip},
-@option{dist-bzip2}, @option{dist-lzip}, @option{dist-xz},
+@option{dist-bzip2}, @option{dist-bzip3}, @option{dist-lzip}, @option{dist-xz},
@option{dist-zstd} and @option{dist-tarZ} options in use.)
These options must be passed as arguments to @code{AM_INIT_AUTOMAKE}
?BZIP3?DIST_ARCHIVES += $(distdir).tar.bz3
.PHONY: dist-bzip3
+## bzip3 does not read any envvars.
dist-bzip3: distdir
- tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip3 -c >$(distdir).tar.bz3
+ tardir=$(distdir) && $(am__tar) | bzip3 -c >$(distdir).tar.bz3
$(am__post_remove_distdir)
?LZIP?DIST_ARCHIVES += $(distdir).tar.lz