Mercurial > mxe-octave
changeset 561:57265b8d92af
adjust the $(SOURCEFORGE_FILES) macro to the new layout of the SourceForge download sites (needed by "make update")
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 02 Dec 2009 12:53:36 +0100 |
parents | 185e73877b08 |
children | 26b21ea454a1 |
files | Makefile |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Dec 02 12:40:36 2009 +0100 +++ b/Makefile Wed Dec 02 12:53:36 2009 +0100 @@ -91,8 +91,7 @@ SOURCEFORGE_FILES = \ wget -q -O- '$(1)' | \ grep 'title="/' | \ - $(SED) -n 's,.*title="\(/[^:]*\).*released on \([^ "]* [^ "]* [^ "]*\)",\2 \1,p' | \ - while read d1 d2 d3 url; do echo "`date -d "$$d1 $$d2 $$d3" +%Y-%m-%d`" "$$url"; done | \ + $(SED) -n 's,.*title="\(/[^:]*\).*released on \([0-9-]*\)",\2 \1,p' | \ sort | \ $(SED) 's,^[^ ]* ,,'