diff options
author | konablend <[email protected]> | 2009-05-19 02:26:29 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2009-05-19 02:26:29 +0000 |
commit | 785f31c77992ae49c0c71ef4ca2ab73afc0e991f (patch) | |
tree | c2acad0db8eb57839a6329108d84a3833966e488 /make/include/contrib.defs | |
parent | d6e052156455ffdec949459f0b3c478187ddcc37 (diff) |
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
Diffstat (limited to 'make/include/contrib.defs')
-rw-r--r-- | make/include/contrib.defs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |