Source: nn
Version: 6.7.3-3
Severity: minor
User: [email protected]
Usertags: debian-rules-ignores-make-clean-error

With the attached patch debian/rules does not ignore "make clean" errors anymore.

--
Jakub Wilk
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@
 	dh_testdir
 	dh_testroot
 	# Add here commands to clean up after the build process.
-	-$(MAKE) clean
+	[ ! -f config.h ] || $(MAKE) clean
 	rm -f build-stamp configure-stamp config.h update.h
 	dh_clean
 
diff --git a/debian/source.lintian-overrides b/debian/source.lintian-overrides
deleted file mode 100644
--- a/debian/source.lintian-overrides
+++ /dev/null
@@ -1,1 +0,0 @@
-nn: debian-rules-ignores-make-clean-error

Reply via email to