X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=Makefile;h=8b1794cea0ef5c996e102720f730b949acff253a;hb=a59645dc9de7a89a9e3bce92be61f75d2498eb9d;hp=a7f32e3127d65133ded7aecf8520385b3ec4e67d;hpb=fb44480ac39f713e8c08e7fc7845ea4c96b6e4f7;p=pgp-tools.git diff --git a/Makefile b/Makefile index a7f32e3..8b1794c 100644 --- a/Makefile +++ b/Makefile @@ -15,11 +15,17 @@ dist: mkdir $(TGZ_DIR) for dir in $(DIRS) ; do cp -a $$dir $(TGZ_DIR); done cp -a README TODO Makefile $(TGZ_DIR) - tar cvz -f $(TGZ) --exclude .svn $(TGZ_DIR) + GZIP=--best tar cvz -f $(TGZ) --exclude .svn $(TGZ_DIR) 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)