changeset 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 2d19be496785
files rules
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/rules	Fri Sep 26 21:25:48 2008 +0200
+++ b/rules	Wed Nov 05 11:39:58 2008 +0100
@@ -40,8 +40,8 @@
 	rm -f build-stamp
 
 	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
-	-$(MAKE) distclean
+	[ ! -f Makefile ] || $(MAKE) clean
+	[ ! -f Makefile ] || $(MAKE) distclean
 	rm -f tests/test.conf
 	rm -f tests/local.sh
 	rm -f tests/smtpout.sh
@@ -88,7 +88,7 @@
 #	dh_testversion
 	dh_testdir
 	dh_testroot
-	dh_installdebconf     
+	dh_installdebconf
 	dh_installdocs
 	rm -f debian/masqmail/usr/share/doc/masqmail/INSTALL
 	##cp -r docs debian/masqmail/$(DOC)/masqmail/html
@@ -111,7 +111,7 @@
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
+source diff:
 	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
 
 binary: binary-indep binary-arch