aboutsummaryrefslogtreecommitdiffstats
path: root/mk/Maintainer.mk
diff options
context:
space:
mode:
authorkraxel <kraxel>2008-06-09 14:56:36 +0000
committerkraxel <kraxel>2008-06-09 14:56:36 +0000
commit8dae03a9fefea29e94a8e97f461260522274164a (patch)
tree6d64ea89536eb6a0d7a2f0a71a6d9f9bb31ad397 /mk/Maintainer.mk
parentadbf9e28624a774ba5e488bf7a231dcfb5e2aff6 (diff)
downloadfbida-8dae03a9fefea29e94a8e97f461260522274164a.tar.gz
- fix build error.
- build system updates. - bump version for release.
Diffstat (limited to 'mk/Maintainer.mk')
-rw-r--r--mk/Maintainer.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/mk/Maintainer.mk b/mk/Maintainer.mk
index 62f02d6..23446ae 100644
--- a/mk/Maintainer.mk
+++ b/mk/Maintainer.mk
@@ -10,3 +10,19 @@ sync:: distclean
cp -v $(make-sync-dir)/INSTALL $(srcdir)/.
cp -v $(make-sync-dir)/*.mk $(srcdir)/mk
chmod 444 $(srcdir)/INSTALL $(srcdir)/mk/*.mk
+
+
+repository = $(shell cat CVS/Repository)
+release-dir ?= $(HOME)/projects/Releases
+release-pub ?= goldbach@me.in-berlin.de:dl.bytesex.org/releases/$(repository)
+tarball = $(release-dir)/$(repository)-$(VERSION).tar.gz
+
+.PHONY: release
+release:
+ cvs tag $(RELTAG)
+ cvs export -r $(RELTAG) -d "$(repository)-$(VERSION)" "$(repository)"
+ find "$(repository)-$(VERSION)" -name .cvsignore -exec rm -fv "{}" ";"
+ tar -c -z -f "$(tarball)" "$(repository)-$(VERSION)"
+ rm -rf "$(repository)-$(VERSION)"
+ scp $(tarball) $(release-pub)
+