[SCM] advene/master: Install the modules into a private directory to not populate the namespace.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Thu Jan 12 15:34:09 UTC 2012


The following commit has been merged in the master branch:
commit 55bb0b2e0fd38e319c7e189db5442eb97e1b8ce0
Author: Alessio Treglia <alessio at debian.org>
Date:   Thu Jan 12 16:32:29 2012 +0100

    Install the modules into a private directory to not populate the namespace.

diff --git a/debian/rules b/debian/rules
index 564cf2e..a9fb0b9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,9 +8,15 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 
 DEB_INSTALL_CHANGELOGS_ALL := CHANGES.txt
 DEB_INSTALL_DOCS_ALL := doc/*
+DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib=/usr/share/advene
 
 pre-build::
 	cd po && $(MAKE) mo
 
 clean::
 	$(RM) -r locale
+
+install/advene::
+	cd debian/advene/usr && \
+		mv bin/advene share/advene/advene.real
+	cd debian/advene/usr/bin && ln -s ../share/advene/advene.real advene

-- 
advene packaging



More information about the pkg-multimedia-commits mailing list