Fix build on Qt-Creator
[googlelatitude] / qtc_packaging / debian_harmattan / rules
index 501d645..0a05e51 100755 (executable)
@@ -9,37 +9,24 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
-
-
-
 configure: configure-stamp
 configure-stamp:
        dh_testdir
        # qmake PREFIX=/usr# Uncomment this line for use without Qt Creator
-
        touch configure-stamp
 
-
 build: build-stamp
 
 build-stamp: configure-stamp  
        dh_testdir
-
-       # Add here commands to compile the package.
        # $(MAKE) # Uncomment this line for use without Qt Creator
-       #docbook-to-man debian/latitudeupdater.sgml > latitudeupdater.1
-
        touch $@
 
 clean: 
        dh_testdir
        dh_testroot
        rm -f build-stamp configure-stamp
-
-       # Add here commands to clean up after the build process.
-       $(MAKE) clean
-
+       -$(MAKE) clean
        dh_clean 
 
 install: build
@@ -47,10 +34,7 @@ install: build
        dh_testroot
        dh_clean -k 
        dh_installdirs
-
-       # Add here commands to install the package into debian/latitudeupdater.
-       $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/latitudeupdater install
-
+       $(MAKE) INSTALL_ROOT="$(CURDIR)"/debian/googlelatitude install
 
 # Build architecture-independent files here.
 binary-indep: build install
@@ -63,7 +47,7 @@ binary-arch: build install
        dh_installchangelogs 
        dh_installdocs
        dh_installexamples
-#      dh_install
+       dh_install
 #      dh_installmenu
 #      dh_installdebconf       
 #      dh_installlogrotate
@@ -80,9 +64,9 @@ binary-arch: build install
        dh_compress
        dh_fixperms
 #      dh_perl
-#      dh_makeshlibs
+       dh_makeshlibs
        dh_installdeb
-       # dh_shlibdeps # Uncomment this line for use without Qt Creator
+       dh_shlibdeps
        dh_gencontrol
        dh_md5sums
        dh_builddeb