Fixed build inside scratchbox.
[medard] / qtc_packaging / debian_fremantle / rules
index d694ffc..56ff2ac 100755 (executable)
@@ -17,6 +17,7 @@ configure: configure-stamp
 configure-stamp:
        dh_testdir
        # Add here commands to configure the package.
+       qmake
 
        touch configure-stamp
 
@@ -38,8 +39,12 @@ clean:
        rm -f build-stamp configure-stamp
 
        # Add here commands to clean up after the build process.
+       qmake
+
        $(MAKE) clean
 
+       rm -f Makefile medard
+
        dh_clean 
 
 install: build