#!/usr/bin/csh -f # the candidates are $1 and $2 echo "Compiling Page for $1 and $2..." if ($2 != "x") then set candidatehtml = "candidates/$1_$2.html" else set candidatehtml = "candidates/$1.html" endif if (-f $candidatehtml) then rm $candidatehtml endif if ($2 != "x") then cat htmlify/ctop1.html "candidates/$1.txt" htmlify/ctop1.5.html "candidates/$2.txt" htmlify/ctop2.html "candidates/$1.txt" htmlify/ctop1.5.html "candidates/$2.txt" htmlify/ctop3.html > $candidatehtml else cat htmlify/ctop1.html "candidates/$1.txt" htmlify/ctop2.html "candidates/$1.txt" htmlify/ctop3.html > $candidatehtml endif echo "Perspectives on the BaronyOpinions on the SCASociety ReminiscencesThe Candidates' AgendasOn Being Baron/essThe Candidates ThemselvesThe Boroughs and NewcomersThrown Weapons SpecificFencing Specific" >> $candidatehtml cat htmlify/cmid1.html >> $candidatehtml csh makeanchc $1 $2 barony_well csh makeanchc $1 $2 barony_improve csh makeanchc $1 $2 carol-image csh makeanchc $1 $2 change-carol csh makeanchc $1 $2 work-pay csh makeanchc $1 $2 award-sys csh makeanchc $1 $2 bod-crisis csh makeanchc $1 $2 best-thing csh makeanchc $1 $2 politics csh makeanchc $1 $2 magic-moment csh makeanchc $1 $2 kindest-thing csh makeanchc $1 $2 you_same csh makeanchc $1 $2 you_different csh makeanchc $1 $2 much_run csh makeanchc $1 $2 marshal-struct csh makeanchc $1 $2 entourage csh makeanchc $1 $2 distaste_parts csh makeanchc $1 $2 give-up csh makeanchc $1 $2 four-years csh makeanchc $1 $2 gen-resps csh makeanchc $1 $2 opinions csh makeanchc $1 $2 you_good csh makeanchc $1 $2 in_tune csh makeanchc $1 $2 assocs csh makeanchc $1 $2 history-q csh makeanchc $1 $2 borough_duties csh makeanchc $1 $2 newcomer_duties csh makeanchc $1 $2 past_year_borough csh makeanchc $1 $2 t-shirt-q csh makeanchc $1 $2 tw_champion csh makeanchc $1 $2 you-fencing csh makeanchc $1 $2 fencing-you csh makeanchc $1 $2 fencing-role cat htmlify/cbot1.html >> $candidatehtml