From 07404ae7bb28b81e3cb8aee9c36f390b95bcd1f8 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 22 Feb 2012 18:11:12 +0100 Subject: makefile updates --- mk/Maintainer.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'mk/Maintainer.mk') diff --git a/mk/Maintainer.mk b/mk/Maintainer.mk index fedc5cc..1e237d3 100644 --- a/mk/Maintainer.mk +++ b/mk/Maintainer.mk @@ -17,11 +17,14 @@ release-dir ?= $(HOME)/projects/Releases release-pub ?= bigendian.kraxel.org:/public/vhosts/www.kraxel.org/releases/$(repository) tarball = $(release-dir)/$(repository)-$(VERSION).tar -.PHONY: release -release: +$(tarball).gz: git tag -m "release $(VERSION)" "$(VERSION)" git push --tags git archive --format=tar --prefix=$(repository)-$(VERSION)/ \ -o $(tarball) $(VERSION) gzip $(tarball) - scp $(tarball).gz $(release-pub) + +.PHONY: release +release: $(tarball).gz + gpg --detach-sign --armor $(tarball).gz + scp $(tarball).gz* $(release-pub) -- cgit