added release tar target

Originally committed as revision 1364 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Fabrice Bellard 2002-12-27 14:33:53 +00:00
parent f560dd8279
commit ac97734133
1 changed files with 9 additions and 0 deletions

View File

@ -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