Add a README for download files.
This commit is contained in:
parent
664e15c54e
commit
34cea1c51b
15
Makefile
15
Makefile
|
@ -1,9 +1,10 @@
|
|||
# This Makefile is only used by developers.
|
||||
PYVER:=2.7
|
||||
PYTHON:=python$(PYVER)
|
||||
APPNAME:=patool
|
||||
VERSION:=$(shell $(PYTHON) setup.py --version)
|
||||
ARCHIVE:=patool-$(VERSION).tar.gz
|
||||
ARCHIVE_WIN32:=patool-$(VERSION).win32.exe
|
||||
ARCHIVE:=$(APPNAME)-$(VERSION).tar.gz
|
||||
ARCHIVE_WIN32:=$(APPNAME)-$(VERSION).win32.exe
|
||||
PY_FILES_DIRS := patool setup.py patoolib tests
|
||||
PY2APPOPTS ?=
|
||||
ifeq ($(shell uname),Darwin)
|
||||
|
@ -37,7 +38,7 @@ chmod:
|
|||
|
||||
.PHONY: dist
|
||||
dist:
|
||||
git archive --format=tar --prefix=patool-$(VERSION)/ HEAD | gzip -9 > ../$(ARCHIVE)
|
||||
git archive --format=tar --prefix=$(APPNAME)-$(VERSION)/ HEAD | gzip -9 > ../$(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
|
||||
|
@ -45,9 +46,15 @@ dist:
|
|||
# cd .. && zip -r - patool-git -x "**/.git/**" > $(HOME)/temp/share/patool-devel.zip
|
||||
|
||||
.PHONY: upload
|
||||
upload:
|
||||
upload: dist/README.md
|
||||
rsync -avP -e ssh ../$(ARCHIVE)* ../$(ARCHIVE_WIN32)* calvin,patool@frs.sourceforge.net:/home/frs/project/p/pa/patool/$(VERSION)/
|
||||
|
||||
dist/README.md: doc/README-Download.md.tmpl doc/changelog.txt
|
||||
# copying readme for sourceforge downloads
|
||||
sed -e 's/{APPNAME}/$(APPNAME)/g' -e 's/{VERSION}/$(VERSION)/g' $< > $@
|
||||
# append changelog
|
||||
awk '/released/ {c++}; c==2 {exit}; {print " " $$0}' doc/changelog.txt >> $@
|
||||
|
||||
|
||||
.PHONY: release
|
||||
release: clean releasecheck dist upload
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
{APPNAME} Downloads
|
||||
======================
|
||||
|
||||
{APPNAME} {VERSION} is available for download for Windows systems,
|
||||
Unix systems and in source format.
|
||||
|
||||
The `.asc` are GPG signatures that you can use to verify the download.
|
||||
For example download the `.asc` file in the same directory as the
|
||||
`.tar.bz2` file and run `gpg --verify {APPNAME}-{VERSION}.tar.bz2`
|
||||
|
||||
The GPG key used to sign these packages is 32EC6F3E. It can be
|
||||
downloaded with `gpg --keyserver wwwkeys.pgp.net --recv-keys 32EC6F3E`.
|
||||
|
||||
Files
|
||||
------
|
||||
|
||||
* {APPNAME}-{VERSION}.exe
|
||||
The Windows installer. If you run Windows, use this. The installer is
|
||||
signed with a local certificate signature.
|
||||
* {APPNAME}-{VERSION}-portable.zip
|
||||
The portable Windows installer. Use this, if you want to run {APPNAME}
|
||||
from a USB stick or external hard drive.
|
||||
* {APPNAME}-{VERSION}.tar.bz2
|
||||
The source code. See `doc/install.txt` for compilation and installation
|
||||
instructions.
|
||||
|
||||
Changelog for this release
|
||||
---------------------------
|
||||
|
Loading…
Reference in New Issue