Code

rules: Do not ignore "make distclean" errors.
authorSebastian Harl <sh@tokkee.org>
Thu, 4 Dec 2008 18:34:39 +0000 (19:34 +0100)
committerSebastian Harl <sh@tokkee.org>
Thu, 4 Dec 2008 18:47:26 +0000 (19:47 +0100)
debian/changelog
debian/rules

index 688beee..21254d3 100644 (file)
@@ -22,8 +22,9 @@ ncmpc (0.12~beta2-1) experimental; urgency=low
   * debian/rules:
     - Do not try to install upstream ChangeLog and TODO files - they no longer
       exist.
+    - Do not ignore "make distclean" errors.
 
- -- Sebastian Harl <sh@tokkee.org>  Thu, 04 Dec 2008 19:31:25 +0100
+ -- Sebastian Harl <sh@tokkee.org>  Thu, 04 Dec 2008 19:34:20 +0100
 
 ncmpc (0.11.1+svn-r3965-2) unstable; urgency=low
 
index 502ee01..b26cb65 100755 (executable)
@@ -40,7 +40,7 @@ clean:
        dh_testroot
        rm -f build-stamp
        
-       -$(MAKE) distclean
+       [ ! -f Makefile ] || $(MAKE) distclean
        
        dh_clean