[Pkg-owncloud-commits] [SCM] owncloud.git branch, master, updated. debian/5.0.7+dfsg-2-4-gcf356e1

David Prévot taffit at debian.org
Thu Jun 27 20:56:55 UTC 2013


The following commit has been merged in the master branch:
commit 35b48a96225216a87e6e2aad91b7351e4e3f36cc
Author: David Prévot <taffit at debian.org>
Date:   Wed Jun 26 23:29:56 2013 -0400

    Remove unused tests directories

diff --git a/debian/rules b/debian/rules
index 09a805d..205e058 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,7 +28,7 @@ override_dh_install:
 	rm debian/owncloud/usr/share/owncloud/core/js/jquery.inview.txt
 	rm debian/owncloud/usr/share/owncloud/settings/img/log\ Icon\ License
 
-	# Remove other stuff
+	# Remove other useless documentation
 	rm debian/owncloud/usr/share/owncloud/3rdparty/Dropbox/README.md
 	rm debian/owncloud/usr/share/owncloud/3rdparty/fontawesome/README.md
 	rm debian/owncloud/usr/share/owncloud/3rdparty/js/chosen/README.md
@@ -44,15 +44,19 @@ override_dh_install:
 	rm debian/owncloud/usr/share/owncloud/apps/updater/README
 	rm debian/owncloud/usr/share/owncloud/core/img/filetypes/readme*.txt
 	rm debian/owncloud/usr/share/owncloud/core/js/oc-vcategories.txt
-	rmdir debian/owncloud/usr/share/owncloud/apps/files_encryption/3rdparty
-	rm -r debian/owncloud/usr/share/owncloud/apps/files_encryption/tests
-	rm -r debian/owncloud/usr/share/owncloud/apps/user_ldap/tests
 
-	# Remove unused scripts and sources.
+	# Remove unused scripts, tests and sources
 	rm -r debian/owncloud/usr/share/owncloud/3rdparty/phpass/c
 	rm debian/owncloud/usr/share/owncloud/3rdparty/phpass/test.php
+	rm -r debian/owncloud/usr/share/owncloud/apps/bookmarks/tests
+	rm -r debian/owncloud/usr/share/owncloud/apps/calendar/tests
+	rm -r debian/owncloud/usr/share/owncloud/apps/files_encryption/tests
+	rm -r debian/owncloud/usr/share/owncloud/apps/files_external/tests
 	rm -r debian/owncloud/usr/share/owncloud/apps/files_odfviewer/src
 	rm -r debian/owncloud/usr/share/owncloud/apps/files_videoviewer/mediaelement
+	rm -r debian/owncloud/usr/share/owncloud/apps/media/tests
+	rm -r debian/owncloud/usr/share/owncloud/apps/user_external/tests
+	rm -r debian/owncloud/usr/share/owncloud/apps/user_ldap/tests
 	rm -r debian/owncloud/usr/share/owncloud/l10n
 
 	# Minify JavaScript files.
@@ -96,7 +100,8 @@ override_dh_install:
 	# Remove the doc, shipped in owncloud-doc
 	rm -r debian/owncloud/usr/share/owncloud/core/doc
 
-	# Remove third party provided by external package 
+	# Remove third party provided by external package
+	rmdir debian/owncloud/usr/share/owncloud/apps/files_encryption/3rdparty
 	rm -r debian/owncloud/usr/share/owncloud/apps/files_external/3rdparty
 
 	# Fix displayed version

-- 
owncloud.git



More information about the Pkg-owncloud-commits mailing list