]> git.saurik.com Git - apt.git/commitdiff
Fixed 'debian/rules ignores make errors' lintian warnings.
authorEugene V. Lyubimkin <jackyf@1501-debian>
Wed, 29 Oct 2008 20:04:30 +0000 (22:04 +0200)
committerEugene V. Lyubimkin <jackyf@1501-debian>
Wed, 29 Oct 2008 20:04:30 +0000 (22:04 +0200)
debian/changelog
debian/rules

index dedb574b84b97bb6a39c74b4409912d7df34e9b4..07360eca6f7fc7dbecd8565364e17b31ee1746ca 100644 (file)
@@ -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
 
index 006d2de8a61d3a68535aad60c4b6336091e4eccf..3b9a115d7fd60f8ac737d18123760ab05aa75f88 100755 (executable)
@@ -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