Fix download readme generation.

This commit is contained in:
Bastian Kleineidam 2012-08-04 14:17:35 +02:00
parent e4e622c6f2
commit bb3ba2e858
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/MANIFEST
/todo
Changelog.patool*
/doc/README.md

View File

@ -46,10 +46,10 @@ dist:
# cd .. && zip -r - patool-git -x "**/.git/**" > $(HOME)/temp/share/patool-devel.zip
.PHONY: upload
upload: dist/README.md
upload: doc/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
doc/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