mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-18 05:11:00 +00:00
Add readme for download page at sourceforge.
This commit is contained in:
parent
2baa908494
commit
f82384dd14
4 changed files with 51 additions and 11 deletions
|
|
@ -1,5 +1,4 @@
|
|||
include README.txt doc/install.txt COPYING doc/upgrading.txt
|
||||
include MANIFEST.in doc/changelog.txt
|
||||
include README.txt COPYING MANIFEST.in
|
||||
include config/linkchecker-completion config/create.sql
|
||||
include config/linkcheckerrc
|
||||
include config/ca-certificates.crt
|
||||
|
|
@ -44,7 +43,7 @@ include linkcheck/gui/rc/*.png
|
|||
include linkcheck/gui/rc/*.qrc
|
||||
include linkcheck/gui/ui/*.ui
|
||||
include po/*.po po/*.pot po/Makefile po/msgfmt.py
|
||||
include doc/*.example
|
||||
include doc/*.example doc/*.txt doc/*.tmpl
|
||||
include doc/html/*.ico
|
||||
include doc/html/*.html
|
||||
include doc/html/*.txt
|
||||
|
|
|
|||
26
Makefile
26
Makefile
|
|
@ -1,11 +1,13 @@
|
|||
# This Makefile is only used by developers.
|
||||
PYVER:=2.7
|
||||
PYTHON?=python$(PYVER)
|
||||
APPNAME:=LinkChecker
|
||||
VERSION:=$(shell $(PYTHON) setup.py --version)
|
||||
PLATFORM:=$(shell $(PYTHON) -c "from distutils.util import get_platform; print get_platform()")
|
||||
FILESCHECK_URL:=http://localhost/~calvin/
|
||||
PYTHONSRC:=${HOME}/src/cpython-hg/Lib
|
||||
#PYTHONSRC:=/usr/lib/$(PYTHON)
|
||||
SF_FILEPATH=/home/frs/project/l/li/linkchecker
|
||||
PY_FILES_DIRS:=linkcheck tests *.py linkchecker linkchecker-nagios linkchecker-gui cgi-bin config doc
|
||||
TESTS ?= tests/
|
||||
# set test options, eg. to "--nologcapture"
|
||||
|
|
@ -44,11 +46,11 @@ clean:
|
|||
|
||||
.PHONY: distclean
|
||||
distclean: clean cleandeb
|
||||
rm -rf build dist LinkChecker.egg-info
|
||||
rm -f _LinkChecker_configdata.py MANIFEST Packages.gz
|
||||
rm -rf build dist $(APPNAME).egg-info
|
||||
rm -f _$(APPNAME)_configdata.py MANIFEST Packages.gz
|
||||
# clean aborted dist builds and -out files
|
||||
rm -f linkchecker-out* linkchecker.prof
|
||||
rm -rf LinkChecker-$(VERSION)
|
||||
rm -rf $(APPNAME)-$(VERSION)
|
||||
rm -rf coverage dist-stamp python-build-stamp*
|
||||
|
||||
.PHONY: cleandeb
|
||||
|
|
@ -77,18 +79,28 @@ localbuild: MANIFEST locale
|
|||
deb_orig:
|
||||
if [ ! -e $(DEB_ORIG_TARGET) ]; then \
|
||||
$(MAKE) dist-stamp && \
|
||||
cp dist/LinkChecker-$(VERSION).tar.bz2 $(DEB_ORIG_TARGET); \
|
||||
cp dist/$(APPNAME)-$(VERSION).tar.bz2 $(DEB_ORIG_TARGET); \
|
||||
fi
|
||||
|
||||
.PHONY: upload
|
||||
upload:
|
||||
rsync -avP -e ssh dist/* calvin,linkchecker@frs.sourceforge.net:/home/frs/project/l/li/linkchecker/$(VERSION)/
|
||||
upload: dist/README.md
|
||||
rsync -avP -e ssh dist/* calvin,linkchecker@frs.sourceforge.net:$(SF_FILEPATH)/$(VERSION)/
|
||||
|
||||
.PHONY: login
|
||||
login:
|
||||
# login to SSH shell
|
||||
ssh -t sf-linkchecker create
|
||||
|
||||
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: distclean releasecheck filescheck clean dist-stamp sign_distfiles upload
|
||||
git tag v$(VERSION)
|
||||
@echo "Updating LinkChecker Homepage..."
|
||||
@echo "Updating $(APPNAME) Homepage..."
|
||||
$(MAKE) -C doc man
|
||||
sed -i -e "s/version = '.*'/version = '$(VERSION)'/" ~/public_html/linkchecker.sf.net/source/conf.py
|
||||
$(MAKE) -C ~/public_html/linkchecker.sf.net update upload
|
||||
|
|
|
|||
29
doc/README-Download.md.tmpl
Normal file
29
doc/README-Download.md.tmpl
Normal file
|
|
@ -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
|
||||
---------------------------
|
||||
|
||||
2
setup.py
2
setup.py
|
|
@ -698,7 +698,7 @@ class InnoScript:
|
|||
# Customize some messages
|
||||
print >> fd, "[Messages]"
|
||||
print >> fd, "ConfirmUninstall=Are you sure you want to remove %1? Note that user-specific configuration files of %1 are not removed."
|
||||
print >> fd, "BeveledLabel=42"
|
||||
print >> fd, "BeveledLabel=DON'T PANIC"
|
||||
print >> fd
|
||||
# List of source files
|
||||
files = self.windows_exe_files + \
|
||||
|
|
|
|||
Loading…
Reference in a new issue