File: arb_compress

package info (click to toggle)
arb 6.0.6-8
  • links: PTS, VCS
  • area: non-free
  • in suites: sid, trixie
  • size: 66,204 kB
  • sloc: ansic: 394,911; cpp: 250,290; makefile: 19,644; sh: 15,879; perl: 10,473; fortran: 6,019; ruby: 683; xml: 503; python: 53; awk: 32
file content (25 lines) | stat: -rwxr-xr-x 505 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
set -x
set -e

rm -f arb.tgz arb-dev.tgz

tar -czf arb.tgz -T <(
  find demo.arb arb_install.sh arb_*.txt
  find bin lib PERL_SCRIPTS SH \
     ! -type d \
     ! -path \*/pts/\* \
     ! -path \*/.svn/\* \
     ! -path \*/unused/\* \
     ! -path \*ChangeLog \
     ! -path \*lib/nas/names.dat \
     ! -path \*lib/macros/.checks/\* \
     ! -path \*PERL_SCRIPTS/test/\* \
     ! -name \#\* 
)
   
tar -czhf arb-dev.tgz -T <(
  find . -name \*.a -o -path \*/INCLUDE/\*.h\*
)

ls -al arb*.tgz