[SCM] hydrogen/master: Prune empty directories, delete development files and both shared and static objects for now, we'll introduce them once upstream will have released a stable release.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Jan 27 10:13:54 UTC 2012


The following commit has been merged in the master branch:
commit 4c25c8626a91efc9d39904f1db7046a4b3b0c18f
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Jan 27 10:45:22 2012 +0100

    Prune empty directories, delete development files and both shared and static objects for now, we'll introduce them once upstream will have released a stable release.

diff --git a/debian/rules b/debian/rules
index 2ad0878..f6a5f72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -80,6 +80,11 @@ clean::
 	rm -rf CMakeCache.txt CMakeFiles/ try/
 	rm -f qt4.pyc version.cpp config.h
 
+binary-install/hydrogen::
+	find $(CURDIR)/debian/hydrogen/usr/share/ -type d -empty -delete
+	rm -rf $(CURDIR)/debian/hydrogen/usr/lib/
+	rm -rf $(CURDIR)/debian/hydrogen/usr/include/
+
 # Needed by upstream build process
 CDBS_BUILD_DEPENDS += , cmake
 CDBS_BUILD_DEPENDS += , libqt4-dev, libz-dev, pkg-config, libarchive-dev

-- 
hydrogen packaging



More information about the pkg-multimedia-commits mailing list