Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (32 sloc) 0.971 kb
all:
cd util && make
clean:
cd util && make clean
#
# Developer targets. To use this:
# 1. Change ./VERSION to reflect the release version
# 2. Commit
# 3. make release-tag
# 4. make release
# 5. Change ./VERSION to reflect the post-release version
#
VERSION = $(shell cat ./VERSION)
NAME = backup-bouncer
release-tag:
echo "Tagging release-$(VERSION)"
TAGSDIR=`svn info | grep URL | awk '{print $$2}'`-tags \
&& svn ls $$TAGSDIR \
| ( grep -q release-$(VERSION) \
|| svn cp . $$TAGSDIR/release-$(VERSION) )
release:
echo "Packaging version $(VERSION)"
[ -d release ] || mkdir release
TAGSDIR=`svn info | grep URL | awk '{print $$2}'`-tags \
&& svn export $$TAGSDIR/release-$(VERSION) \
release/$(NAME)-$(VERSION)
cd release \
&& tar cvzf $(NAME)-$(VERSION).tgz $(NAME)-$(VERSION)
upload:
scp release/$(NAME)-$(VERSION).tgz \
n8gray.org:public_html/files/$(NAME)/
.PHONY: all clean release-tag release upload
Jump to Line
Something went wrong with that request. Please try again.