aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-12-27 14:33:53 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-12-27 14:33:53 +0000
commitac97734133a52c41825e427fd15a66f65a89d4bb (patch)
tree54e109fc865f542db78d9336b4c101165123cc2c
parentf560dd8279e84c85f9d75cf411e2eb7316662a0b (diff)
downloadffmpeg-ac97734133a52c41825e427fd15a66f65a89d4bb.tar.gz
added release tar target
Originally committed as revision 1364 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index a954e0e7b4..117955c28b 100644
--- a/Makefile
+++ b/Makefile
@@ -119,6 +119,15 @@ TAGS:
libavtest test mpeg4 mpeg: ffmpeg$(EXE)
$(MAKE) -C tests $@
+# tar release (use 'make -k tar' on a checkouted tree)
+FILE=ffmpeg-$(shell cat VERSION)
+
+tar:
+ rm -rf /tmp/$(FILE)
+ cp -r . /tmp/$(FILE)
+ ( cd /tmp ; tar zcvf ~/$(FILE).tar.gz $(FILE) --exclude CVS )
+ rm -rf /tmp/$(FILE)
+
ifneq ($(wildcard .depend),)
include .depend
endif