fix lintian warnings and errors REL_9.10.23
authorRoland Hieber <devnull@localhost>
Thu, 22 Oct 2009 23:02:04 +0000 (01:02 +0200)
committerRoland Hieber <devnull@localhost>
Thu, 22 Oct 2009 23:02:04 +0000 (01:02 +0200)
Makefile
debian/rules

index f61f840..41d1775 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -128,7 +128,7 @@ uninstall:
 
 # clean up
 clean: distclean
 
 # clean up
 clean: distclean
-       [ -e Doxyfile ] && rm Doxyfile
+       if [ -e Doxyfile ]; then rm Doxyfile; fi
 
 distclean:
        $(RM) doc/source
 
 distclean:
        $(RM) doc/source
index fd363e4..2d79ba9 100755 (executable)
@@ -7,7 +7,7 @@ build:
        rm -f dirs files
 
 binary-indep: 
        rm -f dirs files
 
 binary-indep: 
-       -$(MAKE) clean
+       [ ! -f Makefile ] || $(MAKE) clean
        dh_clean
 
        dh_testdir
        dh_clean
 
        dh_testdir
@@ -56,7 +56,7 @@ binary: binary-indep
 clean:
        dh_testdir
        dh_testroot
 clean:
        dh_testdir
        dh_testroot
-       -$(MAKE) clean
+       [ ! -f Makefile ] || $(MAKE) clean
        dh_clean
 
 .PHONY: build clean binary-indep binary install
        dh_clean
 
 .PHONY: build clean binary-indep binary install
This page took 0.030112 seconds and 4 git commands to generate.