[SCM] libav/libav-extra: Filter out build of static library for packages.

ceros-guest at users.alioth.debian.org ceros-guest at users.alioth.debian.org
Mon Mar 19 13:29:22 UTC 2012


The following commit has been merged in the libav-extra branch:
commit 655f3383573b6a29df681720b2118394d652edd5
Author: Andres Mejia <amejia004 at gmail.com>
Date:   Mon Mar 19 09:14:57 2012 -0400

    Filter out build of static library for packages.

diff --git a/debian/rules b/debian/rules
index b59ac25..74afab8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -78,7 +78,7 @@ build-doxy-stamp:
 build: build-stamp build-extra
 build-stamp: $(addprefix build-stamp-, $(FLAVORS)) debian-shared/tools/qt-faststart
 	touch $@
-build-extra: $(addprefix build-extra-stamp-, $(FLAVORS))
+build-extra: $(addprefix build-extra-stamp-, $(filter-out static,$(FLAVORS)))
 	touch $@
 
 clean:
@@ -139,7 +139,7 @@ install-common: build $(DH_INSTALL_FILES)
 install-extra: build $(DH_INSTALL_FILES)
 	dh_testdir
 	dh_testroot
-	$(foreach flavor,$(FLAVORS),$(call install_flavor_extra,$(flavor)))
+	$(foreach flavor,$(filter-out static,$(FLAVORS)),$(call install_flavor_extra,$(flavor)))
 	dh_install $(addprefix -p,$(LIB_EXTRA_PKGS)) -Xusr/share/doc/libav-doc \
 		-Xusr/share/doc/libav --fail-missing \
 		--sourcedir=debian/tmp/extra

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list