From 96ea4ab2004cfb911e5c2c41a027b9260f3862ce Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 8 Mar 2010 17:28:59 +0100 Subject: [PATCH] Add targets to sign and upload distribution files. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 294ad9c..6459ee6 100644 --- a/Makefile +++ b/Makefile @@ -20,10 +20,16 @@ chmod: dist: git archive --format=tar --prefix=patool-$(VERSION)/ HEAD | gzip -9 > ../$(ARCHIVE) sha1sum ../$(ARCHIVE) > ../$(ARCHIVE).sha1 + [ ! -f ../$(ARCHIVE).asc ] && gpg --detach-sign --armor ../$(ARCHIVE) # cd .. && zip -r - patool-git -x "**/.git/**" > $(HOME)/temp/share/patool-devel.zip +.PHONY: upload +upload: + rsync -avP -e ssh ../$(ARCHIVE)* calvin,patool@frs.sourceforge.net:/home/frs/project/p/pa/patool/$(VERSION)/ + + .PHONY: release -release: clean releasecheck dist +release: clean releasecheck dist upload @echo "Register at Python Package Index..." python setup.py register