comparison makeWeb.sh @ 45:689026e2de0c

Web. Add download links for book.
author Jim Hague <jim.hague@laicatc.com>
date Sun, 04 Mar 2012 13:07:50 +0000
parents d92717f8130c
children a63e39fc3410
comparison
equal deleted inserted replaced
44:a636787724de 45:689026e2de0c
29 mkdir -p $webdir 29 mkdir -p $webdir
30 30
31 sed -e "s/@BUILD@/$buildno/" -e "s/@SUBTITLE@/$subtitle/" \ 31 sed -e "s/@BUILD@/$buildno/" -e "s/@SUBTITLE@/$subtitle/" \
32 -e "s/@INTRO@/$intro/" -e "s/@BOOK@/$1/" dottes.html.header > $webdir/$output 32 -e "s/@INTRO@/$intro/" -e "s/@BOOK@/$1/" dottes.html.header > $webdir/$output
33 33
34 cp $1.pdf $1-booklet.pdf $webdir
35
34 # Now, for each tune, make the tune graphic and sound. 36 # Now, for each tune, make the tune graphic and sound.
35 find $booke -name "*.abc" | sort | 37 find $booke -name "*.abc" | sort |
36 while read filename 38 while read filename
37 do 39 do
38 title=`grep "^T:" $filename | head -1 | sed -e "s/^T: *//"` 40 title=`grep "^T:" $filename | head -1 | sed -e "s/^T: *//"`