added release tar target

Originally committed as revision 1364 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Fabrice Bellard 22 years ago
parent f560dd8279
commit ac97734133
  1. 9
      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

Loading…
Cancel
Save