]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
* automake.in (initialize_global_constants): Invoke gzip for
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Tue, 27 Apr 1999 13:24:46 +0000 (13:24 +0000)
committerAlexandre Oliva <oliva@dcc.unicamp.br>
Tue, 27 Apr 1999 13:24:46 +0000 (13:24 +0000)
dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.

ChangeLog
automake.in

index 018b6963a26cf46bfb6460b40969e914bd2cb30f..6fc9109063198c0f09e4291dae2c405fe15e060b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 1999-04-27  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * automake.in (initialize_global_constants): Invoke gzip for
+       dist-shar just like in plain dist, i.e., pass it GZIP_ENV and -c.
+
        * automake.in (initialize_global_constants): Remove zip file
        before re-creating it.
        Reported by Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
index 39172d86e79cbc32aabfe8e65d89e463719a356c..c71113f51cf6cb74a82183cbb07e08d7a31af915 100755 (executable)
@@ -6645,7 +6645,7 @@ sub initialize_global_constants
                     . '$(AMTAR) ch$(AMTARFLAGS)f - $(distdir) | compress -c > $(distdir).tar.Z'
                     . "\n");
     $dist{'dist-shar'} = ("\t"
-                    . 'shar $(distdir) | gzip > $(distdir).shar.gz'
+                    . 'shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c > $(distdir).shar.gz'
                     . "\n");
     $dist{'dist-zip'} = ("\t" . '-rm -f $(distdir).zip' . "\n" .
                         "\t" . 'zip -rq $(distdir).zip $(distdir)' . "\n");