]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(dist): chmod the dist directory, not the current directory.
authorDavid MacKenzie <djm@djmnet.org>
Thu, 5 May 1994 15:57:20 +0000 (15:57 +0000)
committerDavid MacKenzie <djm@djmnet.org>
Thu, 5 May 1994 15:57:20 +0000 (15:57 +0000)
Makefile.in
doc/Makefile.in

index 5bbf72e83fad6e0654c7aeea863240a2acbbf11b..dcf6375957203517c8033045aff9e4f69c067be4 100644 (file)
@@ -166,7 +166,6 @@ TAGS:
 
 # Don't depend on DISTFILES because there's no rule for "standards.info*".
 dist: $(DISTDEP)
-       chmod -R a+rX .
        distname=`sed -e '/define(AC_ACVERSION,/!d' \
        -e 's/[^0-9.]*\([0-9.]*\).*/autoconf-\1/' -e q acgeneral.m4`; \
        rm -fr $$distname; \
@@ -175,5 +174,6 @@ dist: $(DISTDEP)
          ln $$file $$distname \
          || { echo copying $$file instead; cp -p $$file $$distname;}; \
        done; \
+       chmod -R a+rX $$distname; \
        tar -chz -f $$distname.tar.gz $$distname; \
        rm -fr $$distname
index 5bbf72e83fad6e0654c7aeea863240a2acbbf11b..dcf6375957203517c8033045aff9e4f69c067be4 100644 (file)
@@ -166,7 +166,6 @@ TAGS:
 
 # Don't depend on DISTFILES because there's no rule for "standards.info*".
 dist: $(DISTDEP)
-       chmod -R a+rX .
        distname=`sed -e '/define(AC_ACVERSION,/!d' \
        -e 's/[^0-9.]*\([0-9.]*\).*/autoconf-\1/' -e q acgeneral.m4`; \
        rm -fr $$distname; \
@@ -175,5 +174,6 @@ dist: $(DISTDEP)
          ln $$file $$distname \
          || { echo copying $$file instead; cp -p $$file $$distname;}; \
        done; \
+       chmod -R a+rX $$distname; \
        tar -chz -f $$distname.tar.gz $$distname; \
        rm -fr $$distname