summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 96459f4..9735725 100644
--- a/Makefile
+++ b/Makefile
@@ -168,7 +168,8 @@ UNPACK_ARCHIVE = \
$(if $(filter %.tar.xz, $(1)),xz -dc '$(1)' | tar xf -, \
$(if $(filter %.7z, $(1)),7za x '$(1)', \
$(if $(filter %.zip, $(1)),unzip -q '$(1)', \
- $(error Unknown archive format: $(1)))))))))))
+ $(if $(filter %.deb, $(1)),ar x '$(1)' && tar xf data.tar*, \
+ $(error Unknown archive format: $(1))))))))))))
UNPACK_PKG_ARCHIVE = \
$(call UNPACK_ARCHIVE,$(PKG_DIR)/$($(1)_FILE))