瀏覽代碼

Fixed 'debian/rules ignores make errors' lintian warnings.

Eugene V. Lyubimkin 17 年之前
父節點
當前提交
f7e51977e2
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 2 0
      debian/changelog
  2. 2 2
      debian/rules

+ 2 - 0
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
 

+ 2 - 2
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