From 4028cad7096ba2cb081af73e3fe5d67099654243 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Fri, 26 Mar 2010 21:15:05 +0100 Subject: [PATCH] Also upload win32 .exe distribution files. --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 8f7384a..82c4de9 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ # This Makefile is only used by developers. VERSION:=$(shell python setup.py --version) ARCHIVE:=patool-$(VERSION).tar.gz +ARCHIVE_WIN32:=patool-$(VERSION).win32.exe PY_FILES_DIRS := patool setup.py patoolib tests NUMCPUS := $(shell grep -c '^process' /proc/cpuinfo) # which test modules to run @@ -24,13 +25,15 @@ chmod: .PHONY: dist dist: git archive --format=tar --prefix=patool-$(VERSION)/ HEAD | gzip -9 > ../$(ARCHIVE) - sha1sum ../$(ARCHIVE) > ../$(ARCHIVE).sha1 - [ ! -f ../$(ARCHIVE).asc ] && gpg --detach-sign --armor ../$(ARCHIVE) + [ -f ../$(ARCHIVE).sha1 ] || sha1sum ../$(ARCHIVE) > ../$(ARCHIVE).sha1 + [ -f ../$(ARCHIVE).asc ] || gpg --detach-sign --armor ../$(ARCHIVE) + [ -f ../$(ARCHIVE_WIN32).sha1 ] || sha1sum ../$(ARCHIVE_WIN32) > ../$(ARCHIVE_WIN32).sha1 + [ -f ../$(ARCHIVE_WIN32).asc ] || gpg --detach-sign --armor ../$(ARCHIVE_WIN32) # 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)/ + rsync -avP -e ssh ../$(ARCHIVE)* ../$(ARCHIVE_WIN32)* calvin,patool@frs.sourceforge.net:/home/frs/project/p/pa/patool/$(VERSION)/ .PHONY: release