Compute sha1sum for released archives

This commit is contained in:
Bastian Kleineidam 2010-02-23 07:37:42 +01:00
parent 9275d6ca47
commit 28cdd06b95
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
# This Makefile is only used by developers. # This Makefile is only used by developers.
VERSION:=$(shell python setup.py --version) VERSION:=$(shell python setup.py --version)
ARCHIVE:=patool-$(VERSION).tar.gz
PY_FILES_DIRS := patool setup.py patoolib tests PY_FILES_DIRS := patool setup.py patoolib tests
# which test modules to run # which test modules to run
TESTS ?= tests/ TESTS ?= tests/
@ -16,7 +17,8 @@ chmod:
.PHONY: dist .PHONY: dist
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 # 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. # The check programs used here are mostly local scripts on my private system.