From 19600b2825e0d12d71eb2f842623019525c31117 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 22 Feb 2017 10:58:15 +0100 Subject: sync maintainer makefiles --- mk/Maintainer.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'mk') diff --git a/mk/Maintainer.mk b/mk/Maintainer.mk index dc4b4bb..b0d1c5a 100644 --- a/mk/Maintainer.mk +++ b/mk/Maintainer.mk @@ -20,9 +20,8 @@ tarball = $(release-dir)/$(repository)-$(VERSION).tar ifeq ($(usetito),yes) -.PHONY: release -release: - @echo "tito config found, so use this ;)" +$(tarball).gz: + tito build --output $(release-dir) --tgz else @@ -33,11 +32,12 @@ $(tarball).gz: -o $(tarball) $(VERSION) gzip $(tarball) +endif + $(tarball).gz.asc: $(tarball).gz gpg --detach-sign --armor $(tarball).gz .PHONY: release -release: $(tarball).gz +release: $(tarball).gz.asc scp $(tarball).gz* $(release-pub) -endif -- cgit