diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-04 09:48:27 -0700 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-05-04 09:48:27 -0700 |
commit | 247f5d615539784c46b5c7c5b35b6ee348e04151 (patch) | |
tree | 6744bd1584ad1239417e4c8e148f98d1d27909eb /gen.sh |
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 |