Add make export archive to export snapshot tarbals
authorHans de Goede <hdegoede@redhat.com>
Wed, 3 Mar 2010 10:42:45 +0000 (11:42 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 3 Mar 2010 10:42:45 +0000 (11:42 +0100)
Add make export archive to export snapshot tarbals, without
needing to create git tags.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Makefile

index 619a51a..483c533 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -31,4 +31,9 @@ archive-no-tag:
 
 archive: clean tag archive-no-tag
 
+export: clean
+       tar --transform s/^\./v4l-utils-$(V4L_UTILS_VERSION)/g \
+               --exclude=.git -zcvf \
+               /tmp/v4l-utils-$(V4L_UTILS_VERSION).tar.gz .
+
 include Make.rules