Mercurial > dottes
diff makeWeb.sh @ 382:04bd083eed29
Ratchet up the IE8 attempt.
Thanks to http://www.yourwebskills.com/htmlobject.php.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 30 Aug 2013 23:55:22 +0100 |
parents | 5628fcd6c692 |
children | ce5dccdd45bd |
line wrap: on
line diff
--- a/makeWeb.sh Fri Aug 30 20:25:01 2013 +0100 +++ b/makeWeb.sh Fri Aug 30 23:55:22 2013 +0100 @@ -27,6 +27,7 @@ tunelist=tunelist.html booke=$1 masterbooke=$2 +masterwebdir=$dir/web/$2 title=$booke instrument=$3 @@ -63,7 +64,7 @@ # to be already generated. cp $1-*.pdf $webdir -# Now, for each tune, make the tune graphic and sound. +# Now, for each tune, make the tune page. find $bookedir -name "*.abc" | sort | while read filename do @@ -94,6 +95,12 @@ # Copy the ABC into the web. cp $filename $webdir + # If we are not the master booke, link the mp3 in from the + # master page in a desperate attempt to make IE8 work. + if [ "$booke" != "$masterbooke" ]; then + ln -s -r ${masterwebdir}/${name}.mp3 ${webdir} + fi + # Generate the tune web page. tunepage=${name}.html