[SCM] ecasound/master: fix fixperms target

zmoelnig-guest at users.alioth.debian.org zmoelnig-guest at users.alioth.debian.org
Tue Feb 1 11:27:57 UTC 2011


The following commit has been merged in the master branch:
commit a82396334ab9f03908a0c184e57eec025dff1040
Author: IOhannes m zmölnig <zmoelnig at iem.at>
Date:   Tue Feb 1 12:23:36 2011 +0100

    fix fixperms target
    
    unfortunately, dh doesn't set the $(pkgdir)

diff --git a/debian/rules b/debian/rules
index dafa4a0..22ccbcc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,8 +10,12 @@ override_dh_auto_clean:
 
 override_dh_fixperms:
 	dh_fixperms
-	chmod a-x $(pkgdir)/usr/share/pyshared/pyeca.py
-	chmod a-x $(pkgdir)/usr/share/pyshared/ecacontrol.py
-	chmod a-x $(pkgdir)/usr/share/pyshared/eci.py
-	chmod a-x $(pkgdir)/usr/lib/ruby/1.8/ecasound.rb
+ifneq (,$(findstring python-ecasound, $(shell dh_listpackages)))
+	chmod a-x debian/python-ecasound/usr/share/pyshared/pyeca.py
+	chmod a-x debian/python-ecasound/usr/share/pyshared/ecacontrol.py
+	chmod a-x debian/python-ecasound/usr/share/pyshared/eci.py
+endif
+ifneq (,$(findstring libecasound-ruby1.8, $(shell dh_listpackages)))
+	chmod a-x debian/libecasound-ruby1.8/lib/ruby/1.8/ecasound.rb
+endif
 

-- 
ecasound packaging



More information about the pkg-multimedia-commits mailing list