diff options
Diffstat (limited to 'gen.sh')
-rw-r--r-- | gen.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#!/bin/bash + +make view.js view.css +for issue in "$@"; do + echo "=> making issue $issue" + { + list=`echo $issue/{index.php,view.css,view.js}` + list+=' ' + list+=`ls -1 $issue/Page*.pdf|sed -r 's/(.*)\.pdf$/\1.jpg \1.small.jpg/'` + make $list + } 2>&1|sed 's/./ &/' +done |