Add lintian override for desktop-command-not-in-package, install it with
[debian/teleschorsch.git] / debian / rules
index c79fd83e63ff6931fd2e4570f9f24eb6d23af357..842cfca2ae5b84ecc0bbcfa6d290684308f87946 100755 (executable)
@@ -22,12 +22,10 @@ configure-stamp:
        dh_testdir
        lrelease qteleschorsch.pro
        qmake
-       touch configure-stamp
-
+       touch $@
 
 build: build-stamp
-
-build-stamp: configure-stamp 
+build-stamp: configure-stamp
        dh_testdir
        $(MAKE)
        convert -geometry 32x32 teleschorsch.png debian/teleschorsch32.xpm
@@ -37,14 +35,14 @@ build-stamp: configure-stamp
 clean:
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
+       dh_clean debian/teleschorsch*.xpm *.qm configure-stamp build-stamp install-stamp
        [ ! -f Makefile ] || $(MAKE) distclean
-       dh_clean debian/teleschorsch*.xpm *.qm
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
        dh_testdir
        dh_testroot
-       dh_clean -k 
+       dh_clean -k
        dh_installdirs
 
 # Build architecture-independent files here.
@@ -57,26 +55,15 @@ binary-arch: build install
        dh_testroot
        dh_installchangelogs ChangeLog
        dh_installdocs
-#      dh_installexamples
        dh_install
        dh_installmenu
        dh_desktop
-#      dh_installdebconf       
-#      dh_installlogrotate
-#      dh_installemacsen
-#      dh_installpam
-#      dh_installmime
-#      dh_python
-#      dh_installinit
-#      dh_installcron
-#      dh_installinfo
+       dh_lintian
        dh_installman teleschorsch.1
        dh_link usr/share/man/man1/teleschorsch.1 usr/share/man/man1/qteleschorsch.1
        dh_strip
        dh_compress
        dh_fixperms
-#      dh_perl
-#      dh_makeshlibs
        dh_installdeb
        dh_shlibdeps
        dh_gencontrol