summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene V. Lyubimkin <jackyf@1501-debian>2008-10-29 22:04:30 +0200
committerEugene V. Lyubimkin <jackyf@1501-debian>2008-10-29 22:04:30 +0200
commitf7e51977e235f67cdcf8d3c83d11fe9df2ea3e43 (patch)
tree6bafcb81ac31f3c7dd1ce7858ee2a89c0a9db024
parent94cb04ddd1f9221e16680dceb98afad6a1273c50 (diff)
Fixed 'debian/rules ignores make errors' lintian warnings.
-rw-r--r--debian/changelog2
-rwxr-xr-xdebian/rules4
2 files changed, 4 insertions, 2 deletions
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 <jackyf.devel@gmail.com> 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