summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2007-10-28 13:03:36 +0100
committerTobi Oetiker <tobi@oetiker.ch>2007-10-28 13:03:36 +0100
commitc000f6f0d252f523897bb70eab4f3b102d0b7428 (patch)
treef3f4dfa03681678a4ef3adafd112227d5c0539a0 /Makefile
parent73ee67ababcf2e418d6da2800ebe248dc28ed59f (diff)
downloadsmokeping-c000f6f0d252f523897bb70eab4f3b102d0b7428.tar.gz
smokeping-c000f6f0d252f523897bb70eab4f3b102d0b7428.tar.xz
prepare for the release of smokeping-2.2.5
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index c23625c..025d136 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
SHELL = /bin/sh
VERSION = 2.2.5
+SVNREPO = svn://svn.oetiker.ch/smokeping
############ A is for features
############ B is for bugfixes
############ V.AAABBB
@@ -152,17 +153,17 @@ killdoc:
doc: killdoc ref examples man html txt rename-man
# patch first so Smokeping.pm is older than smokeping_config.pod in the tarball
-tar: patch doc
- -ln -s . smokeping-$(VERSION)
- find smokeping-$(VERSION)/* -type f -follow -o -type l | egrep -v '$(IGNORE)' | tar -T - -czvf smokeping-$(VERSION).tar.gz
- rm smokeping-$(VERSION)
+tar: patch doc commit
+ svn checkout $(SVNREPO)/software/trunk smokeping-$(VERSION)
+ tar --exclude .svn czvf smokeping-$(VERSION).tar.gz smokeping-$(VERSION)
+ rm -rf smokeping-$(VERSION)
commit:
svn commit -m "prepare for the release of smokeping-$(VERSION)"
-dist: tar commit
+dist: tar
scp CHANGES smokeping-$(VERSION).tar.gz oposs@oss.oetiker.ch:public_html/smokeping/pub/
tag: dist
- svn ls svn://svn.oetiker.ch/smokeping/tags/$(VERSION) || \
- svn copy -m "tagging version $(VERSION)" svn://svn.oetiker.ch/smokeping/trunk/software svn://svn.oetiker.ch/smokeping/tags/$(VERSION)
+ svn ls $(SVNREPO)/tags/$(VERSION) || \
+ svn copy -m "tagging version $(VERSION)" $(SVNREPO)/trunk/software $(SVNREPO)/tags/$(VERSION)