#!/bin/sh export TABLE=`mktemp` export DEATHTABLE=`mktemp` python python/deathtable.py > $DEATHTABLE python python/table.py > $TABLE sed -e "/%%DEATHTABLE%%/{r $DEATHTABLE" -e "d}" -e "/%%MAINTABLE%%/{r $TABLE" -e "d}" gen/tables.tex rm $DEATHTABLE $TABLE