rse 97/08/18 23:52:17
Modified: . how-to-release.html
Log:
Accept empty dirs in the tarball. This is needed because
we create special tarballs: the empty "logs" directory have
to exists there.
Revision Changes Path
1.10 +6 -4 apache-devsite/how-to-release.html
Index: how-to-release.html
===================================================================
RCS file: /export/home/cvs/apache-devsite/how-to-release.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- how-to-release.html 1997/08/12 09:06:37 1.9
+++ how-to-release.html 1997/08/19 06:52:16 1.10
@@ -63,13 +63,15 @@
<code><b>$ cd htdocs/manual</b></code><br>
<code><b>$ ./expand.pl</b></code><br>
<code><b>$ rm ./expand.pl</b></code><br>
- <code><b>$ cd ../..</b></code>
+ <code><b>$ cd ../../..</b></code>
<P>
-<LI> Roll the tarball (with sorted files!):<br>
- <code><b>$ cd ..</b></code><br>
+<LI> Roll the distribution tarball. Here you have two possible options:<br>
+ Variant (a), professional tarball with sorted files
(<i>recommended!</i>):<br>
<code><b>$ tar cvf apache_1.X.Y.tar \</b></code><br>
<code><b> `find apache_1.X.Y -depth -print | sort
|\</b></code><br>
- <code><b> perl -nle 'print $_ if -f $_;'`</b></code>
+ <code><b> perl -nle 'print $_ if (-f $_ or (-d _ and
not join("", glob "$_/*")));'`</b></code><br>
+ Variant (b), poor man's tarball with files sorted as found on
filesystem:<br>
+ <code><b>$ tar cvf apache_1.X.Y.tar apache_1.2.3</b></code><br>
<P>
<LI> Make the final packed distribution files:<br>
(<em>note: no <code>gzip -9</code> here because some Tars then don't
like the gunzip'ed result</em>)<br>