[SCM] mplayer2/master: run dh_clean only when configured

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Fri Aug 16 21:40:15 UTC 2013


The following commit has been merged in the master branch:
commit 94eac26d41a15bd480f9dd1b72cd0caf734ccaf6
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Fri Aug 16 23:34:23 2013 +0200

    run dh_clean only when configured
    
    otherwise 'debian/rules clean' fails in an untouched, pristine state

diff --git a/debian/rules b/debian/rules
index f94b40a..6ed3558 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,7 +66,7 @@ override_dh_strip:
 	dh_strip --dbg-package=mplayer2-dbg
 
 override_dh_clean:
-	dh_clean
+	[ ! -f config.mak ] || dh_clean
 	rm -f VERSION
 
 get-orig-source:

-- 
mplayer2 packaging



More information about the pkg-multimedia-commits mailing list