File: prep_mac.sh

package info (click to toggle)
gffread 0.12.7-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,424 kB
  • sloc: cpp: 2,783; sh: 99; makefile: 73
file content (19 lines) | stat: -rwxr-xr-x 584 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
ver=$(fgrep '#define VERSION ' gffread.cpp)
ver=${ver#*\"}
ver=${ver%%\"*}
pack=gffread-$ver
macpack=$pack.OSX_x86_64
echo "preparing $macpack.tar.gz"
echo "-------------------"
/bin/rm -rf $macpack
/bin/rm -f $macpack.tar.gz
mkdir $macpack
make clean
make release
cp gffread $macpack/
tar cvfz $macpack.tar.gz $macpack
ls -l $macpack.tar.gz
#echo "If you're on igmN machines you can also update the web files:"
echo "scp $macpack.tar.gz salz:~/html/software/stringtie/dl/"
#echo "perl -i -pe 's/gffread\-\d\.\d+\.\d+\./gffread-$ver./g' ~/html/software/gffutils/home.shtml"