summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-01-21 10:37:49 (GMT)
committerMark Brand <mabrand@mabrand.nl>2011-01-21 10:37:49 (GMT)
commit0d2b6b312674c317ee8e025e25167b703f979455 (patch)
tree9cb7941621748ddf2d3eaaf111fa6e105d5a22db /Makefile
parent30191c0c62762f2f011a44b8808d473bfe8a3b9d (diff)
downloadmxe-0d2b6b312674c317ee8e025e25167b703f979455.zip
mxe-0d2b6b312674c317ee8e025e25167b703f979455.tar.gz
mxe-0d2b6b312674c317ee8e025e25167b703f979455.tar.bz2
unpack .tar.xz archives
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57310ba..9654115 100644
--- a/Makefile
+++ b/Makefile
@@ -44,8 +44,9 @@ UNPACK_ARCHIVE = \
$(if $(filter %.tar.gz, $(1)),tar xzf '$(1)', \
$(if $(filter %.tar.bz2, $(1)),tar xjf '$(1)', \
$(if $(filter %.tar.lzma,$(1)),xz -dc -F lzma '$(1)' | tar xf -, \
+ $(if $(filter %.tar.xz,$(1)),xz -dc '$(1)' | tar xf -, \
$(if $(filter %.zip, $(1)),unzip -q '$(1)', \
- $(error Unknown archive format: $(1)))))))
+ $(error Unknown archive format: $(1))))))))
UNPACK_PKG_ARCHIVE = \
$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))