From: Jan Nieuwenhuizen Date: Wed, 31 May 2006 22:55:09 +0000 (+0000) Subject: * stepmake/aclocal.m4: Robustification for (gcc) version detection. X-Git-Tag: git/start~388 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=152e06f0da111668e6e530a48b23f462504072fa;p=lilypond.git * stepmake/aclocal.m4: Robustification for (gcc) version detection. * cygwin/postinstall-lilypond.sh: Do not fail if info docs aren't available. This should be moved to postinstall-lilypond-doc. --- diff --git a/ChangeLog b/ChangeLog index 63e06f51f0..b105c3313b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-06-01 Jan Nieuwenhuizen + + * stepmake/aclocal.m4: Robustification for (gcc) version detection. + + * cygwin/postinstall-lilypond.sh: Do not fail if info docs aren't + available. This should be moved to postinstall-lilypond-doc. + 2006-05-31 Han-Wen Nienhuys * GNUmakefile.in: simplify local-WWW-post. diff --git a/THANKS b/THANKS index a2b576dc8b..8f377e1884 100644 --- a/THANKS +++ b/THANKS @@ -57,6 +57,7 @@ Keith Packard Orm Finnendahl Quentin Spencer Rick Hansen +Ruud van Silfhout Sietse Brouwer Stephen Carter Trent Johnston diff --git a/cygwin/postinstall-lilypond.sh b/cygwin/postinstall-lilypond.sh index fbffab2c3e..257100cf7f 100644 --- a/cygwin/postinstall-lilypond.sh +++ b/cygwin/postinstall-lilypond.sh @@ -26,4 +26,5 @@ regtool set '/root/LilyPond/shell/generate/' '&Generate PDF ...' regtool add '/root/LilyPond/shell/generate/command' regtool set '/root/LilyPond/shell/generate/command/' $ROOT'\bin\bash.exe --login -c '"'"'/usr/bin/lily-wins "%1"'"'" -(cd /usr/share/info/lilypond && ln -sf ../../doc/lilypond/Documentation/user/out-www/*png .) +# FIXME: move to new postinstall-lilypond-doc.sh +[ -d /usr/share/info/lilypond ] && (cd /usr/share/info/lilypond && ln -sf ../../doc/lilypond/Documentation/user/out-www/*png .) diff --git a/stepmake/aclocal.m4 b/stepmake/aclocal.m4 index 93e568bb6c..19b9200a40 100644 --- a/stepmake/aclocal.m4 +++ b/stepmake/aclocal.m4 @@ -32,8 +32,8 @@ AC_DEFUN(STEPMAKE_GET_VERSION, [ ## FIXME: what systems still do not have $() in /bin/sh? eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\.[0-9]' \ | head -n 1 \ - | sed -e 's/.*[^-.0-9]\([0-9][0-9]*\.[0-9][.0-9]*\).*/\1/' \ - -e 's/^[^.0-9]*//' -e 's/[^.0-9]*$//'\`\" + | sed -e 's/\([0-9][0-9]*\.[0-9][.0-9]*\).*/\1/' \ + -e 's/\([^0-9]*\|^\) //' -e 's/[^0-9]*$//'\`\" if test -z "$_ver"; then ## If empty, try date [fontforge] eval _ver=\"\`("$1" --version || "$1" -V) 2>&1 | grep '[0-9]\{6,8\}' \