From 28cdd06b95a00d273e5949614d86142bf0c39d2e Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Tue, 23 Feb 2010 07:37:42 +0100 Subject: [PATCH] Compute sha1sum for released archives --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3852cb3..7e37bf1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,6 @@ # This Makefile is only used by developers. VERSION:=$(shell python setup.py --version) +ARCHIVE:=patool-$(VERSION).tar.gz PY_FILES_DIRS := patool setup.py patoolib tests # which test modules to run TESTS ?= tests/ @@ -16,7 +17,8 @@ chmod: .PHONY: dist dist: - git archive --format=tar --prefix=patool-$(VERSION)/ HEAD | gzip -9 > ../patool-$(VERSION).tar.gz + git archive --format=tar --prefix=patool-$(VERSION)/ HEAD | gzip -9 > ../$(ARCHIVE) + sha1sum ../$(ARCHIVE) > ../$(ARCHIVE).sha1 # cd .. && zip -r - patool-git -x "**/.git/**" > $(HOME)/temp/share/patool-devel.zip # The check programs used here are mostly local scripts on my private system.