From: Tom Tromey Date: Tue, 1 Dec 1998 16:02:48 +0000 (+0000) Subject: * automake.texi (Dist): Documented GZIP_ENV. X-Git-Tag: Release-1-3d~9 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=d22303ffbfb9b443f353073a066786d89b179485;p=automake.git * 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. --- diff --git a/ChangeLog b/ChangeLog index 2e71e9e8..77471e61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +1998-12-01 Tom Tromey + + * 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 * automake.in (quote_cond_val): Use "\002", not '\002', to diff --git a/automake.in b/automake.in index 51c95d62..edbecd6b 100755 --- a/automake.in +++ b/automake.in @@ -2478,7 +2478,7 @@ sub handle_dist # 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. @@ -2513,7 +2513,7 @@ sub handle_dist # 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`; \\' @@ -6128,7 +6128,7 @@ sub initialize_global_constants . '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"; } diff --git a/automake.texi b/automake.texi index e03d2411..546f4607 100644 --- a/automake.texi +++ b/automake.texi @@ -2838,6 +2838,8 @@ precisely it is named @samp{@var{package}-@var{version}.tar.gz}. @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,