dist-xz, dist-bzip2: don't hard-code -9: honor envvar settings
commit6da46f316146c3c6c5ea1741a69e16ecd40620d0
authorJim Meyering <meyering@redhat.com>
Sat, 2 Oct 2010 20:30:02 +0000 (2 22:30 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 5 Oct 2010 17:07:24 +0000 (5 19:07 +0200)
treeab61342f14d878dfcac7d31f030a731b32beb140
parent98d4fcff80f6cee71067be96f19cafd30c0e005f
dist-xz, dist-bzip2: don't hard-code -9: honor envvar settings

* lib/am/distdir.am (dist-xz): Do not hard-code xz's -9: that
made it impossible to override.  Instead, use its XZ_OPT envvar,
defaulting to -9 if not defined.  Thus no change in behavior
when XZ_OPT is not set, and now, this rule honors the setting
of that envvar when it is set.  Suggested by Lasse Collin.
(dist-bzip2): Likewise for it's corresponding envvar: BZIP2.
* NEWS (Miscellaneous changes): Mention it.
* doc/automake.texi (The Types of Distributions): Describe the
newly enabled environment variables.
ChangeLog
NEWS
doc/automake.texi
lib/am/distdir.am