debian/masqmail-debian

diff rules @ 1:a4ee78843d35

removed lintian warning with check for existing Makefile
author meillo@marmaro.de
date Wed, 05 Nov 2008 11:39:58 +0100
parents 5ef519035828
children 30402b14eeb8
line diff
     1.1 --- a/rules	Fri Sep 26 21:25:48 2008 +0200
     1.2 +++ b/rules	Wed Nov 05 11:39:58 2008 +0100
     1.3 @@ -40,8 +40,8 @@
     1.4  	rm -f build-stamp
     1.5  
     1.6  	# Add here commands to clean up after the build process.
     1.7 -	-$(MAKE) clean
     1.8 -	-$(MAKE) distclean
     1.9 +	[ ! -f Makefile ] || $(MAKE) clean
    1.10 +	[ ! -f Makefile ] || $(MAKE) distclean
    1.11  	rm -f tests/test.conf
    1.12  	rm -f tests/local.sh
    1.13  	rm -f tests/smtpout.sh
    1.14 @@ -88,7 +88,7 @@
    1.15  #	dh_testversion
    1.16  	dh_testdir
    1.17  	dh_testroot
    1.18 -	dh_installdebconf     
    1.19 +	dh_installdebconf
    1.20  	dh_installdocs
    1.21  	rm -f debian/masqmail/usr/share/doc/masqmail/INSTALL
    1.22  	##cp -r docs debian/masqmail/$(DOC)/masqmail/html
    1.23 @@ -111,7 +111,7 @@
    1.24  	dh_md5sums
    1.25  	dh_builddeb
    1.26  
    1.27 -source diff:                                                                  
    1.28 +source diff:
    1.29  	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
    1.30  
    1.31  binary: binary-indep binary-arch