bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remove dependency on gunzip


From: Antonio Diaz Diaz
Subject: Remove dependency on gunzip
Date: Thu, 22 Oct 2009 17:42:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello,

I recently received a error message from GNU info on a computer without the gunzip binary installed. While fixing this error, I noticed automake introduces in every package using automake the same dependency that provoked the error in GNU info.

As gunzip is a link to gzip, the only difference between using "gunzip" and "gzip -d" is that the former adds a gratuitous dependency on the gunzip name.

Could you, please, apply the attached patch whose only effect is removing the dependency of Makefile.in on the "gunzip" name?


Regards,
Antonio.
diff -urdN automake-1.11.orig/lib/am/distdir.am automake-1.11/lib/am/distdir.am
--- automake-1.11.orig/lib/am/distdir.am        2009-05-17 15:19:30.000000000 
+0200
+++ automake-1.11/lib/am/distdir.am     2009-10-22 13:38:44.000000000 +0200
@@ -427,7 +427,7 @@
 distcheck: dist
        case '$(DIST_ARCHIVES)' in \
        *.tar.gz*) \
-         GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
+         GZIP=$(GZIP_ENV) gzip -cd $(distdir).tar.gz | $(am__untar) ;;\
        *.tar.bz2*) \
          bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
        *.tar.lzma*) \
@@ -437,7 +437,7 @@
        *.tar.Z*) \
          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
        *.shar.gz*) \
-         GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
+         GZIP=$(GZIP_ENV) gzip -cd $(distdir).shar.gz | unshar ;;\
        *.zip*) \
          unzip $(distdir).zip ;;\
        esac

reply via email to

[Prev in Thread] Current Thread [Next in Thread]