diff --git a/Makefile b/Makefile index df50ed77b..6a777dfc2 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,12 @@ BUILDDIR ?= $(BUILDBASE)/scrapy_$(FULL_VERSION).orig BUILDTAR ?= $(BUILDBASE)/scrapy_$(FULL_VERSION).orig.tar.gz help: - @echo 'Commonly used make targets:' + @echo 'Available targets:' @echo ' deb-binary - build debian binary package' @echo ' deb-source - build debian source package' @echo ' deb-all - build source and binary debian packages' @echo ' tarball - build source tarball' + @echo ' sign - sign release' deb-binary: deb-prepare cd $(BUILDDIR); debuild -i -us -uc -b @@ -35,3 +36,9 @@ deb-prepare: tarball: python setup.py sdist + +sign: + md5sum dist/Scrapy-* > dist/MD5SUMS + sha1sum dist/Scrapy-* > dist/SHA1SUMS + gpg -ba dist/MD5SUMS + gpg -ba dist/SHA1SUMS diff --git a/extras/sign_release.sh b/extras/sign_release.sh deleted file mode 100755 index 6aac50987..000000000 --- a/extras/sign_release.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# Script to sign a Scrapy release. To be run from root dir in Scrapy -# distribution. - -cd dist -md5sum Scrapy-* > MD5SUMS -sha1sum Scrapy-* > SHA1SUMS -gpg -ba MD5SUMS -gpg -ba SHA1SUMS - -# list files created -ls -l