mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-09-20 05:19:01 +00:00
388dbdd04f
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
18 lines
453 B
Makefile
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
|