#!/bin/sh source ../functions.sh touch config.omk-default QTDIR=/usr/share/qt4 export QTDIR [ -d $QTDIR ] || canttest "Can't find QT4 instalation" cp Makefile1.omk Makefile.omk make || error "QT compilation" [ -x qtapp/qtapp ] || error "QT application was not compiled" make distclean || error "QT distclean" cp Makefile2.omk Makefile.omk make || error "QT Compilation in subdir" [ -x qtapp/qtapp ] || error "QT application was not compiled"