[SCM] mjpegtools/master: debian/rules: make get-orig-source more robust

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Sep 2 13:49:34 UTC 2012


The following commit has been merged in the master branch:
commit 46e08f604f977017ab5b3e9a6176dff3b1a8c683
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Sun Sep 2 14:51:23 2012 +0200

    debian/rules: make get-orig-source more robust
    
    do not fail if make distclean fails. Happens so in release 2.0.0

diff --git a/debian/rules b/debian/rules
index d440f1b..4abd795 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,7 +30,7 @@ get-orig-source:
 	uscan --verbose --force-download --no-symlink
 	cd debian && tar xvzf ../../$(PACKAGE)-$(TARBALL_VERSION).tar.gz
 	cd debian/$(TARBALL_DIR) && find -name CVS | xargs rm -rf
-	cd debian/$(TARBALL_DIR) && make distclean
+	cd debian/$(TARBALL_DIR) && make distclean || true
 	cd debian/$(TARBALL_DIR) && rm -rf autom4te.cache debian
 	cd debian/$(TARBALL_DIR) && find -name "*.rej" | xargs rm -f
 	cd debian/$(TARBALL_DIR) && find -name "*~" | xargs rm -f

-- 
mjpegtools packaging



More information about the pkg-multimedia-commits mailing list