File: release.sh

package info (click to toggle)
taglib 1.4-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,956 kB
  • ctags: 1,567
  • sloc: cpp: 9,452; sh: 9,114; perl: 2,389; makefile: 333; ansic: 41
file content (47 lines) | stat: -rwxr-xr-x 1,084 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash

release=1.4

echo "********** Copying taglib -> taglib-$release..."

cd taglib
perl admin/cvs-clean.pl
cd taglib
perl ../admin/svn-clean.pl -f
cd ../..

rm -rf taglib-$release
cp -a taglib taglib-$release

echo "********** Moving directories from their CVS locations to their release locations..."

cd taglib-$release
mv taglib/examples taglib/tests taglib/bindings .

echo "********** Applying directory patches..."
patch -p0 < admin/make-changes.diff

echo "********** Running automake..."
make -f Makefile.cvs

echo "********** Removing automake cache..."
rm -r autom4te.cache

echo "********** Removing CVS and .cvsignore files..."
find . -name CVS -type d | xargs rm -r
find . -name .cvsignore -type f | xargs rm
find . -name .svn -type d | xargs rm -r

echo "********** Creating tarball..."

cd ..
tar cfz taglib-$release.tar.gz taglib-$release

echo "********** Checking build..."

cd taglib-$release
./configure && make -j 2 && make check && make examples &&
echo "********** Running toolkit test suite..." &&
./tests/toolkit-test &&
cd ..
echo "********** Done"