* Set Standards-Version to 3.7.3 (no changes required).
[debian/teleschorsch.git] / debian / rules
index c79fd83e63ff6931fd2e4570f9f24eb6d23af357..d44a475c2179b4cf788d61dd8908e62409766c62 100755 (executable)
@@ -22,11 +22,9 @@ configure-stamp:
        dh_testdir
        lrelease qteleschorsch.pro
        qmake
-       touch configure-stamp
-
+       touch $@
 
 build: build-stamp
-
 build-stamp: configure-stamp 
        dh_testdir
        $(MAKE)
@@ -37,11 +35,11 @@ build-stamp: configure-stamp
 clean:
        dh_testdir
        dh_testroot
-       rm -f build-stamp configure-stamp
        [ ! -f Makefile ] || $(MAKE) distclean
-       dh_clean debian/teleschorsch*.xpm *.qm
+       dh_clean debian/teleschorsch*.xpm *.qm configure-stamp build-stamp install-stamp.
 
-install: build
+install: install-stamp
+install-stamp: build-stamp
        dh_testdir
        dh_testroot
        dh_clean -k 
@@ -57,26 +55,14 @@ 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_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