Fixed build inside scratchbox.
authorRoman Moravcik <roman.moravcik@gmail.com>
Mon, 28 Mar 2011 11:30:19 +0000 (13:30 +0200)
committerRoman Moravcik <roman.moravcik@gmail.com>
Mon, 28 Mar 2011 11:30:19 +0000 (13:30 +0200)
qtc_packaging/debian_fremantle/rules

index 6578d53..9f49ba3 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 gpsdata
+
        dh_clean 
 
 install: build