Received: (from majordom@localhost) by hyperreal.org (8.8.5/8.8.5) id XAA16028; Mon, 18 Aug 1997 23:52:20 -0700 (PDT) Received: (from rse@localhost) by hyperreal.org (8.8.5/8.8.5) id XAA16023 for apache-cvs; Mon, 18 Aug 1997 23:52:18 -0700 (PDT) Message-Id: <199708190652.XAA16023@hyperreal.org> Subject: cvs commit: apache-devsite how-to-release.html To: apache-cvs@hyperreal.org Date: Mon, 18 Aug 1997 23:52:18 -0700 (PDT) From: rse@apache.org (Ralf S. Engelschall) Organization: The Apache Group X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: apache-cvs-owner@apache.org Precedence: bulk Reply-To: new-httpd@apache.org 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 @@ $ cd htdocs/manual
$ ./expand.pl
$ rm ./expand.pl
- $ cd ../.. + $ cd ../../..

-

  • Roll the tarball (with sorted files!):
    - $ cd ..
    +
  • Roll the distribution tarball. Here you have two possible options:
    + Variant (a), professional tarball with sorted files (recommended!):
    $ tar cvf apache_1.X.Y.tar \
      `find apache_1.X.Y -depth -print | sort |\
    -    perl -nle 'print $_ if -f $_;'` +    perl -nle 'print $_ if (-f $_ or (-d _ and not join("", glob "$_/*")));'`
    + Variant (b), poor man's tarball with files sorted as found on filesystem:
    + $ tar cvf apache_1.X.Y.tar apache_1.2.3

  • Make the final packed distribution files:
    (note: no gzip -9 here because some Tars then don't like the gunzip'ed result)