s3fs-fuse/s3fs/Makefile
mooredan@suncup.net 388dbdd04f 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
2010-10-19 05:05:59 +00:00

18 lines
453 B
Makefile

svnrev = $(shell svn log -q -l 1 | grep -e '^r[0-9]' | head -n 1 | awk '{print $$1}')
all: s3fs
s3fs : s3fs.cpp
g++ -ggdb -Wall $(shell pkg-config fuse --cflags --libs) $(shell pkg-config libcurl --cflags --libs) $(shell xml2-config --cflags --libs) -lcrypto s3fs.cpp -o s3fs
install: all
cp -f s3fs /usr/bin
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