1 This is a test release of GNU tar.
3 Please send comments and problem reports to <bug-tar@gnu.org>.
5 This release was built with GNU automake 1.5 patched as follows:
7 2001-09-14 Paul Eggert <eggert@twinsun.com>
9 * lib/am/distdir.am (REMOVE_DISTDIR):
10 New macro. Do not change permission of non-directories.
11 (distdir, dist, dist-bzip2, dist-tarZ, dist-shar, dist-zip, dist-all,
14 ===================================================================
15 RCS file: lib/am/distdir.am,v
16 retrieving revision 1.5
17 retrieving revision 1.5.0.1
18 diff -pu -r1.5 -r1.5.0.1
19 --- lib/am/distdir.am 2001/07/14 20:12:52 1.5
20 +++ lib/am/distdir.am 2001/09/15 05:12:18 1.5.0.1
21 @@ -29,6 +29,11 @@ else !%?TOPDIR_P%
22 ?DISTDIR?distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
26 + { test ! -d $(distdir) \
27 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
28 + && rm -fr $(distdir); }; }
32 ## For Gnits users, this is pretty handy. Look at 15 lines
33 @@ -47,7 +52,7 @@ endif %?TOPDIR_P%
34 ## Only for the top dir.
37 - -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
42 @@ -168,13 +173,13 @@ GZIP_ENV = --best
45 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
46 - -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
52 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
53 - -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
58 @@ -182,7 +187,7 @@ if %?COMPRESS%
61 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
62 - -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
67 @@ -190,7 +195,7 @@ if %?SHAR%
70 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
71 - -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
76 @@ -199,7 +204,7 @@ if %?ZIP%
79 zip -rq $(distdir).zip $(distdir)
80 - -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
85 @@ -223,7 +228,7 @@ dist-all: distdir
86 ?SHAR? shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
87 ?ZIP? -rm -f $(distdir).zip
88 ?ZIP? zip -rq $(distdir).zip $(distdir)
89 - -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
94 @@ -239,8 +244,7 @@ if %?TOPDIR_P%
98 -## Make sure we can remove distdir before trying to remove it.
99 - -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
101 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
102 ## Make the new source tree read-only. Distributions ought to work in
103 ## this case. However, make the top-level directory writable so we
104 @@ -273,7 +277,7 @@ distcheck: dist
105 && (test `find . -type f -print | wc -l` -eq 0 \
106 || (echo "Error: files left after distclean" 1>&2; \
108 - -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
110 @echo "$(distdir).tar.gz is ready for distribution" | \
111 sed 'h;s/./=/g;p;x;p;x'