fix lintian warnings and errors
[iserv-mod-room-reservation.git] / debian / rules
index bd00f34..2d79ba9 100755 (executable)
@@ -4,9 +4,10 @@
 # needed for lintian
 build:
        dh_testdir
+       rm -f dirs files
 
 binary-indep: 
-       -$(MAKE) clean
+       [ ! -f Makefile ] || $(MAKE) clean
        dh_clean
 
        dh_testdir
@@ -20,7 +21,7 @@ binary-indep:
        dh_testdir
        dh_testroot
        dh_installchangelogs 
-       dh_installdocs doc/{changelog.old.html,TODO} doc/source/
+       dh_installdocs doc/changelog.old.html doc/TODO doc/source/
        #dh_installexamples
        ##dh_install
        ##dh_installmenu
@@ -55,8 +56,8 @@ binary: binary-indep
 clean:
        dh_testdir
        dh_testroot
-       -$(MAKE) clean
-       dh_clean 
+       [ ! -f Makefile ] || $(MAKE) clean
+       dh_clean
 
 .PHONY: build clean binary-indep binary install
 
This page took 0.023773 seconds and 4 git commands to generate.