From 785f31c77992ae49c0c71ef4ca2ab73afc0e991f Mon Sep 17 00:00:00 2001 From: konablend Date: Tue, 19 May 2009 02:26:29 +0000 Subject: BuildSystem: fixed EXTRACT.tarbase default to support .tar.bz2 and .tar.gz extensions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2425 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- make/include/contrib.defs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/include/contrib.defs b/make/include/contrib.defs index a3019ade7..72ecde68c 100644 --- a/make/include/contrib.defs +++ b/make/include/contrib.defs @@ -34,7 +34,7 @@ define import.CONTRIB.defs ## ## target: extract ## - $(1).EXTRACT.tarbase = $$(patsubst %.tar.gz,%,$$(notdir $$($(1).FETCH.url))) + $(1).EXTRACT.tarbase = $$(foreach x,tar.bz2 tar.gz,$$(patsubst %.$$(x),%,$$(filter %.$$(x),$$(notdir $$($(1).FETCH.url))))) $(1).EXTRACT.dir/ = $$($(1).build/)$$($(1).EXTRACT.tarbase)/ $(1).EXTRACT.target = $$($(1).build/).stamp.extract define $(1).EXTRACT -- cgit v1.2.3