source: branches/help/util/arb_compress

Last change on this file was 12710, checked in by westram, 10 years ago
  • skip unwanted files from release tarball (fixes #584)
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 505 bytes
Line 
1#!/bin/bash
2set -x
3set -e
4
5rm -f arb.tgz arb-dev.tgz
6
7tar -czf arb.tgz -T <(
8  find demo.arb arb_install.sh arb_*.txt
9  find bin lib PERL_SCRIPTS SH \
10     ! -type d \
11     ! -path \*/pts/\* \
12     ! -path \*/.svn/\* \
13     ! -path \*/unused/\* \
14     ! -path \*ChangeLog \
15     ! -path \*lib/nas/names.dat \
16     ! -path \*lib/macros/.checks/\* \
17     ! -path \*PERL_SCRIPTS/test/\* \
18     ! -name \#\* 
19)
20   
21tar -czhf arb-dev.tgz -T <(
22  find . -name \*.a -o -path \*/INCLUDE/\*.h\*
23)
24
25ls -al arb*.tgz
Note: See TracBrowser for help on using the repository browser.