From: myon-guest Date: Mon, 12 Sep 2005 14:33:04 +0000 (+0000) Subject: add tag targets to make weasel happy X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=fb44480ac39f713e8c08e7fc7845ea4c96b6e4f7;p=pgp-tools.git add tag targets to make weasel happy git-svn-id: svn://svn.debian.org/pgp-tools/trunk@252 b513b33f-fedd-0310-b452-c3deb5f4c849 --- diff --git a/Makefile b/Makefile index 662c2f3..a7f32e3 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist keylookup VERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: ([^-]*)/') +DEBVERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: (.*)/') TGZ=../signing-party_$(VERSION).orig.tar.gz TGZ_DIR=signing-party-$(VERSION) @@ -16,3 +17,9 @@ dist: cp -a README TODO Makefile $(TGZ_DIR) tar cvz -f $(TGZ) --exclude .svn $(TGZ_DIR) rm -rf $(TGZ_DIR) + +tag-release: + svn cp -m 'tagging release $(VERSION)' svn+ssh://svn.debian.org/svn/pgp-tools/trunk svn+ssh://svn.debian.org/svn/pgp-tools/tags/release-$(VERSION) + +tag-debian-version: + svn cp -m 'tagging debian version $(DEBVERSION)' svn+ssh://svn.debian.org/svn/pgp-tools/trunk svn+ssh://svn.debian.org/svn/pgp-tools/tags/debian-version-$(DEBVERSION)