Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (12 sloc) 308 Bytes
main: clean
erlc -o ebin -I include src/*.erl
clean:
mkdir -p ebin
rm -f ebin/*
VERSION=s3erl-0.1
release:
mkdir disttmp
svn export `svn info . | grep '^URL:'| cut -d' ' -f2` disttmp/${VERSION}
tar -Cdisttmp -zcvf ${VERSION}.tar.gz ${VERSION}
rm -rf disttmp
echo Distribution is ${VERSION}.tar.gz