From: Eugene V. Lyubimkin Date: Wed, 29 Oct 2008 20:04:30 +0000 (+0200) Subject: Fixed 'debian/rules ignores make errors' lintian warnings. X-Git-Tag: 0.7.21~72^2~9 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/f7e51977e235f67cdcf8d3c83d11fe9df2ea3e43?ds=inline Fixed 'debian/rules ignores make errors' lintian warnings. --- diff --git a/debian/changelog b/debian/changelog index dedb574b8..07360eca6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,8 @@ apt (0.7.17) unstable; urgency=low (Closes: #425150) * cmdline/apt-key: - Fixed bashisms; + * debian/rules: + - Fixed lintian warnings "debian/rules ignores make errors". -- Eugene V. Lyubimkin Fri, 24 Oct 2008 23:45:17 +0300 diff --git a/debian/rules b/debian/rules index 006d2de8a..3b9a115d7 100755 --- a/debian/rules +++ b/debian/rules @@ -125,8 +125,8 @@ build/build-doc-stamp: build/configure-stamp clean: dh_testdir # dh_testroot - -$(MAKE) clean - -$(MAKE) distclean + [ -f Makefile ] && $(MAKE) clean + [ -f Makefile ] && $(MAKE) distclean rm -rf build