Add lintian override for desktop-command-not-in-package, install it with
[debian/teleschorsch.git] / debian / rules
index 17727745588c6df8c783eba4b3013e2e858f28b5..842cfca2ae5b84ecc0bbcfa6d290684308f87946 100755 (executable)
@@ -20,28 +20,29 @@ endif
 configure: configure-stamp
 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
+       convert -geometry 16x16 teleschorsch.png debian/teleschorsch16.xpm
        touch $@
 
 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 
 
-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.
@@ -52,28 +53,17 @@ binary-indep: build install
 binary-arch: build install
        dh_testdir
        dh_testroot
-       dh_installchangelogs 
+       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_installman
-       dh_link
+       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