build
author Markus Bröker <mbroeker@largo.homelinux.org>
Sat, 13 Dec 2008 15:47:48 +0100
changeset 3 724e07a9f155
parent 2 62ddf5dd4db0
child 4 fdf04a93faeb
permissions -rwxr-xr-x
PacketWriter.cpp: cstdlib header added Source Base indented with GNU indent

#!/bin/bash

# This works for qmake version 4.x and fails for qmake version 3 !
# 

rm -rf .moc .obj Makefile
find -name *~ -exec rm -f {} \;

rm -f *.o
qmake-qt4 -project .ui
qmake-qt4 -makefile

make all

if [ ! -f /etc/debian_version ];
then
	./post-install;
else
	echo "Skipping post-install, handled by dpkg";
fi