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 688beeea7c231ec4e84210207762375c1f7d8dd4..21254d3ceff5bd5c658095742b069b2fb0c0795f 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 502ee01ecc4287f46a7c5e844c0dc88d79c34124..b26cb650d03597615b626f11b41e0e0ced97eef9 100755 (executable)
@@ -40,7 +40,7 @@ clean:
        dh_testroot
        rm -f build-stamp
        
-       -$(MAKE) distclean
+       [ ! -f Makefile ] || $(MAKE) distclean
        
        dh_clean