home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / docs / linux.faq / linux-fa.sou / linux-fa / mktar.sh < prev   
Encoding:
Linux/UNIX/POSIX Shell Script  |  1996-02-07  |  1.7 KB  |  44 lines

  1. #!/bin/sh
  2. # Copyright (C) 1993-1995 Ian Jackson.
  3.  
  4. # This file is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8.  
  9. # It is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13.  
  14. # You should have received a copy of the GNU General Public License
  15. # along with GNU Emacs; see the file COPYING.  If not, write to
  16. # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17. # Boston, MA 02111-1307, USA.
  18.  
  19. # (Note: I do not consider works produced using these BFNN processing
  20. # tools to be derivative works of the tools, so they are NOT covered
  21. # by the GPL.  However, I would appreciate it if you credited me if
  22. # appropriate in any documents you format using BFNN.)
  23.  
  24. set -e
  25. export GZIP=-9vn
  26.  
  27. test -f linux-faq.info  || gunzip linux-faq.info
  28. test -f linux-faq.ps    || gunzip linux-faq.ps
  29. rm -f linux-faq.source.tar{,.sig,.gz}
  30.  
  31. tar -vvcf linux-faq.source.tar \
  32.     bfnnconv.pl m-{ascii,info,lout,html,post}.pl \
  33.     linux-faq.bfnn html.refs linux-faq.readmesrc changes.text \
  34.     buildsend.sh mktar.sh expirydate expirydate2 expirydatecc
  35. pgp-auto +batchmode +force -sab linux-faq.source.tar
  36. cat linux-faq.readmesrc linux-faq.source.tar.asc >linux-faq.README
  37. gzip -f linux-faq.{info,ps} linux-faq.source.tar
  38. tar -zvvcf linux-faq.tar.gz \
  39.     linux-faq.{README,ascii} linux-faq.{info,ps}.gz \
  40.     linux-faq.source.tar.gz
  41. ls -FCl linux-faq.tar.gz
  42. tar -f linux-faq.html.tar.gz -C linux-faq.html -zvvc `ls -1 linux-faq.html`
  43. ls -FCl linux-faq.html.tar.gz
  44.