mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 16:58:55 +00:00
Added release target to automatically add tarball and
update Installation Notes wiki - not finished yet git-svn-id: http://s3fs.googlecode.com/svn/trunk@248 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
parent
45b1256966
commit
f7f7003985
18
Makefile.am
18
Makefile.am
@ -1 +1,19 @@
|
||||
SUBDIRS=src test
|
||||
|
||||
release : dist
|
||||
MD5SUM=`md5sum $(DIST_ARCHIVES) | awk '{print $$1}'`
|
||||
if test -d "../tarballs"; then \
|
||||
cp $(DIST_ARCHIVES) ../tarballs;\
|
||||
cd ../tarballs;\
|
||||
ln -f -s $(DIST_ARCHIVES) latest;\
|
||||
fi;
|
||||
if test -w "../wiki/InstallationNotes.wiki"; then \
|
||||
sed -i -e "/Download:/s/s3fs-.*.gz/$(DIST_ARCHIVES)/" ../wiki/InstallationNotes.wiki ;\
|
||||
sed -i -e "/ checksum:/s/ checksum:.*/ checksum: `sha1sum $(DIST_ARCHIVES) | awk '{print $$1}'`/" ../wiki/InstallationNotes.wiki ;\
|
||||
sed -i -e "/ size:/s/ size:.*/ size: `/bin/ls -l $(DIST_ARCHIVES) | awk '{print $$5}'`/" ../wiki/InstallationNotes.wiki ;\
|
||||
sed -i -e "/tar xvzf/s/s3fs-.*.gz/$(DIST_ARCHIVES)/" ../wiki/InstallationNotes.wiki ;\
|
||||
sed -i -e "/cd s3fs/s/s3fs-.*/$(DIST_ARCHIVES)/" ../wiki/InstallationNotes.wiki ;\
|
||||
sed -i -e "/cd s3fs/s/.tar.gz/\//" ../wiki/InstallationNotes.wiki ;\
|
||||
fi;
|
||||
cat ../wiki/InstallationNotes.wiki
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user