Add svn-r*.tar.gz to files to be ignored

Tricky way to generate the distribution tar.gz file
before the autotools way is implemented



git-svn-id: http://s3fs.googlecode.com/svn/trunk@204 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
mooredan@suncup.net 2010-10-19 05:05:59 +00:00
parent 05bc0fb42b
commit 388dbdd04f

View File

@ -1,3 +1,6 @@
svnrev = $(shell svn log -q -l 1 | grep -e '^r[0-9]' | head -n 1 | awk '{print $$1}')
all: s3fs
s3fs : s3fs.cpp
@ -6,8 +9,9 @@ s3fs : s3fs.cpp
install: all
cp -f s3fs /usr/bin
dist: all
tar -cvzf s3fs.tar.gz -C .. s3fs/COPYING s3fs/Makefile s3fs/s3fs.cpp
clean:
dist:
tar -cvzf s3fs-$(svnrev).tar.gz -C .. s3fs/COPYING s3fs/Makefile s3fs/s3fs.cpp
clean:
rm -f s3fs s3fs.o
rm -f s3fs-r*.tar.gz