summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l2-apps/libv4l/Makefile')
-rw-r--r--v4l2-apps/libv4l/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/v4l2-apps/libv4l/Makefile b/v4l2-apps/libv4l/Makefile
index a607bc700..79cc40bca 100644
--- a/v4l2-apps/libv4l/Makefile
+++ b/v4l2-apps/libv4l/Makefile
@@ -13,10 +13,5 @@ clean:
$(MAKE) -C libv4l1 V4L2_LIB_VERSION=$(V4L2_LIB_VERSION) $@
export: clean
- mkdir /tmp/libv4l-$(V4L2_LIB_VERSION)
- cp -a . /tmp/libv4l-$(V4L2_LIB_VERSION)/
- cd /tmp/ && \
- tar cvf /tmp/libv4l-$(V4L2_LIB_VERSION).tar\
- libv4l-$(V4L2_LIB_VERSION)
- gzip /tmp/libv4l-$(V4L2_LIB_VERSION).tar
- rm -rf /tmp/libv4l-$(V4L2_LIB_VERSION)
+ tar --transform s/^\./libv4l-$(V4L2_LIB_VERSION)/g -zcvf \
+ /tmp/libv4l-$(V4L2_LIB_VERSION).tar.gz .