diff options
author | kraxel <kraxel> | 2008-06-09 14:56:36 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2008-06-09 14:56:36 +0000 |
commit | 8dae03a9fefea29e94a8e97f461260522274164a (patch) | |
tree | 6d64ea89536eb6a0d7a2f0a71a6d9f9bb31ad397 /mk/Maintainer.mk | |
parent | adbf9e28624a774ba5e488bf7a231dcfb5e2aff6 (diff) | |
download | fbida-8dae03a9fefea29e94a8e97f461260522274164a.tar.gz |
- fix build error.
- build system updates.
- bump version for release.
Diffstat (limited to 'mk/Maintainer.mk')
-rw-r--r-- | mk/Maintainer.mk | 16 |
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) + |