source: tags/old_import_filter/util/arb_compress

Last change on this file was 10103, checked in by epruesse, 11 years ago

generate arb-dev.tgz when arb.tgz is built
arb-dev includes all static libraries and the header files
in INCLUDE

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 477 bytes
Line 
1#!/bin/bash
2set -e
3
4rm -f arb.tgz arb-dev.tgz
5
6tar -czf arb.tgz -T <(
7  find demo.arb arb_install.sh arb_*.txt GDEHELP/ARB_GDEmenus
8  find bin lib PERL_SCRIPTS SH GDEHELP/DATA_FILES \
9     ! -type d \
10     ! -path \*/pts/\* \
11     ! -path \*/.svn/\* \
12     ! -path \*/unused/\* \
13     ! -path \*ChangeLog \
14     ! -path \*lib/nas/names.dat \
15     ! -name \#\* \
16     ! -name .\*
17)
18   
19tar -czhf arb-dev.tgz -T <(
20  find -name \*.a -o -path \*/INCLUDE/\*.h\*
21)
22
23ls -al arb*.tgz
Note: See TracBrowser for help on using the repository browser.