+1998-12-01 Tom Tromey <tromey@cygnus.com>
+
+ * automake.texi (Dist): Documented GZIP_ENV.
+ * automake.in (handle_dist): Define and use GZIP_ENV, not GZIP.
+ (initialize_global_constants): Use GZIP_ENV, not GZIP.
+
1998-11-27 Tom Tromey <tromey@cygnus.com>
* automake.in (quote_cond_val): Use "\002", not '\002', to
# Some boilerplate.
$output_vars .= &file_contents ('dist-vars') . "\n";
&define_variable ('TAR', $TAR);
- &define_variable ('GZIP', '--best');
+ &define_variable ('GZIP_ENV', '--best');
# Put these things in rules section so it is easier for whoever
# reads Makefile.in.
# tarfile.
distcheck: dist
-rm -rf $(distdir)
- GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
+ GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
mkdir $(distdir)/=build
mkdir $(distdir)/=inst
dc_install_base=`cd $(distdir)/=inst && pwd`; \\'
. 'shar $(distdir) | gzip > $(distdir).shar.gz'
. "\n");
$dist{'dist-zip'} = "\t" . 'zip -rq $(distdir).zip $(distdir)' . "\n";
- $dist{'dist'} = "\t" . 'GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)' . "\n";
+ $dist{'dist'} = "\t" . 'GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)' . "\n";
$dist_trailer = "\t" . '-rm -rf $(distdir)' . "\n";
}
@cvindex PACKAGE
@cvindex VERSION
@trindex dist
+You can use the @code{make} variable @samp{GZIP_ENV} to control how gzip
+is run. The default setting is @samp{--best}.
For the most part, the files to distribute are automatically found by
Automake: all source files are automatically included in a distribution,