X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=28248c9e582b2afe41093389560980edee69d06f;hb=3bb4855cf53f01e455c57dee8fb1b96c0716db8a;hp=a7f32e3127d65133ded7aecf8520385b3ec4e67d;hpb=fb44480ac39f713e8c08e7fc7845ea4c96b6e4f7;p=pgp-tools.git diff --git a/Makefile b/Makefile index a7f32e3..28248c9 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,13 @@ dist: rm -rf $(TGZ_DIR) tag-release: + if svn ls svn+ssh://svn.debian.org/svn/pgp-tools/tags/release-$(VERSION) >/dev/null 2>&1; then \ + echo "Already exists." >&2; exit 1; \ + fi 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: + if svn ls svn+ssh://svn.debian.org/svn/pgp-tools/tags/debian-version-$(DEBVERSION) >/dev/null 2>&1; then \ + echo "Already exists." >&2; exit 1; \ + fi 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)