public
Description: Gedit Plugins, Colorschemes and GtkSourceview Improvements to Gedit
Homepage: http://blog.siverti.com.br/gmate/
Clone URL: git://github.com/lexrupy/gmate.git
lexrupy (author)
Thu Nov 05 03:15:06 -0800 2009
commit  9eb58174c43eb39349b18cd9127646015775d441
tree    565d3f6ed6273fa1ea33cae92fe04fe561e2f570
parent  835c6b84b3afec7e508544374ba5ededba8da5e8 parent  064581483a8242cbfedba0ee164bd4e18a01b2fc
gmate / create-release.sh
100755 38 lines (28 sloc) 0.62 kb
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
#!/bin/sh
# Build all files to upload to PPA or .deb package (call with deb argument).
 
version=`cat debian/control | grep ^Standards-Version: | awk '{print $2}'`
dir=gedit-gmate-$version
 
if [ -d build ]; then
rm -R build
fi
mkdir -p build/$dir
cd build/$dir
 
for file in `ls -A ../../ | grep -v build`; do
cp -R ../../$file ./
done
 
rm -Rf .git
rm -Rf build
for file in `find . -name \*.gitignore`; do cp -R $file ./; done
 
if [ 'deb' = "$1" ]; then
debuild
else
debuild -S
fi
 
cd ..
rm -R $dir
 
if [ 'deb' = "$1" ]; then
for file in `ls ./ | grep -v .deb`; do
rm $file
    done
fi
 
cd ..