OSDN Git Service

added release tar target
authorFabrice Bellard <fabrice@bellard.org>
Fri, 27 Dec 2002 14:33:53 +0000 (14:33 +0000)
committerFabrice Bellard <fabrice@bellard.org>
Fri, 27 Dec 2002 14:33:53 +0000 (14:33 +0000)
Originally committed as revision 1364 to svn://svn.ffmpeg.org/ffmpeg/trunk

Makefile

index a954e0e..117955c 100644 (file)
--- 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