Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b7bfbd5f7c
Fetching contributors…

Cannot retrieve contributors at this time

executable file 40 lines (31 sloc) 0.717 kb
#!/bin/sh
# Build all files to upload to PPA or .deb package (call with deb argument).
#
# To build release install developer’s packages:
# sudo apt-get install devscripts debhelper
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 ..
Jump to Line
Something went wrong with that request. Please try again.