add tag targets to make weasel happy
authormyon-guest <myon-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Mon, 12 Sep 2005 14:33:04 +0000 (14:33 +0000)
committermyon-guest <myon-guest@b513b33f-fedd-0310-b452-c3deb5f4c849>
Mon, 12 Sep 2005 14:33:04 +0000 (14:33 +0000)
git-svn-id: svn://svn.debian.org/pgp-tools/trunk@252 b513b33f-fedd-0310-b452-c3deb5f4c849

Makefile

index 662c2f30497b90b2256ea02b56ce78efb03be3f9..a7f32e3127d65133ded7aecf8520385b3ec4e67d 100644 (file)
--- 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)