From ac97734133a52c41825e427fd15a66f65a89d4bb Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Fri, 27 Dec 2002 14:33:53 +0000 Subject: added release tar target Originally committed as revision 1364 to svn://svn.ffmpeg.org/ffmpeg/trunk --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a954e0e..117955c 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 -- cgit v1.1