[SCM] qjackctl/master: No need to save&restore the translations dir, removing *.qm files is enough.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Dec 2 18:37:14 UTC 2010


The following commit has been merged in the master branch:
commit 011a6a775c685b53ea27912cebcd0edeeef542de
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Dec 2 19:36:30 2010 +0100

    No need to save&restore the translations dir, removing *.qm files is enough.

diff --git a/debian/rules b/debian/rules
index b4cc46b..05382e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,12 +13,8 @@ DEB_CLEAN_EXCLUDE       := qjackctl.pro
 
 cleanbuilddir::
 	rm -rf src/.moc/ src/.obj/ src/.ui/
-	rm -rf src/config.h src/qjackctl.desktop src/src.pri
-	-cp -a --remove-destination debian/translations src/ ; \
-	rm -rf debian/translations
+	rm -rf src/config.h src/qjackctl.desktop src/src.pri \
+		src/translations/*.qm
 
 install/qjackctl::
 	rm -rf debian/qjackctl/usr/share/gnome debian/qjackctl/usr/sbin/
-
-makebuilddir/qjackctl::
-	cp -a src/translations debian/

-- 
qjackctl packaging



More information about the pkg-multimedia-commits mailing list