[SCM] faust/master: simplify install cleanup

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Wed Jan 4 20:18:10 UTC 2017


The following commit has been merged in the master branch:
commit e24e10be6acb9e7615f35e3a365f7e2bb5041530
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Wed Jan 4 11:17:43 2017 +0100

    simplify install cleanup
    
    Gbp-Dch: ignore

diff --git a/debian/rules b/debian/rules
index 320d0e9..68d67f0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,19 +45,17 @@ manpageclean:
 common-binary-arch:: manpages
 clean:: manpageclean
 
-.PHONY: fix-faust fix-faust-common
-fix-faust-common:
+binary-post-install/faust::
+	# fix path for faustpath and faustoptflags
+	sed -e 's|^\( *\. \)faust|\1/usr/share/faust/utils/faust|' \
+		-i $(CURDIR)/debian/$(cdbs_curpkg)/usr/bin/faust2*
+binary-post-install/faust-common::
 	# remove binary artifacts from to-be /usr/share
-	rm -rf $(DEB_DESTDIR_faust-common)/usr/share/faust/iOS/osclib/
+	rm -rf $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/faust/iOS/osclib/
 	# fix permissions
-	-find $(DEB_DESTDIR_faust-common)/usr/share/faust \
+	find $(CURDIR)/debian/$(cdbs_curpkg)/usr/share/faust \
 		-name "*.cpp" -o -name "*.jucer" \
 		-exec chmod a-x {} +
-fix-faust:
-	# fix path for faustpath and faustoptflags
-	sed -e 's|^\( *\. \)faust|\1/usr/share/faust/utils/faust|' -i $(DEB_DESTDIR_faust)/usr/bin/faust2*
-binary-post-install/faust:: fix-faust
-binary-post-install/faust-common:: fix-faust-common
 
 .PHONY: missing-sources
 missing-sources: debian/missing-sources/jquery-1.4.2.js

-- 
faust packaging



More information about the pkg-multimedia-commits mailing list